From bca922c3fbd8dbf5fe4325a5a2f40a4b7a044cf9 Mon Sep 17 00:00:00 2001 From: Sebastian Castro Date: Sat, 30 Nov 2024 13:12:19 -0500 Subject: [PATCH] Use ros testing image --- .devcontainer/Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index d6b96ba..5bbcf26 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1.2 ARG ROS_DISTRO="rolling" -FROM ros:${ROS_DISTRO}-ros-base AS system +FROM osrf/ros2:testing AS system # Restate for later use ARG ROS_DISTRO RUN rm /ros_entrypoint.sh @@ -8,9 +8,6 @@ RUN rm /ros_entrypoint.sh # prevent interactive messages in apt install ARG DEBIAN_FRONTEND=noninteractive -# Switch to ros-testing -RUN echo "deb http://packages.ros.org/ros2-testing/ubuntu $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/ros2-latest.list - # install build dependencies RUN --mount=type=cache,target=/var/cache/apt,id=apt \ apt-get update && apt-get upgrade -y --with-new-pkgs \