Skip to content

Commit bca922c

Browse files
committed
Use ros testing image
1 parent 3125a7a commit bca922c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
# syntax=docker/dockerfile:1.2
22
ARG ROS_DISTRO="rolling"
3-
FROM ros:${ROS_DISTRO}-ros-base AS system
3+
FROM osrf/ros2:testing AS system
44
# Restate for later use
55
ARG ROS_DISTRO
66
RUN rm /ros_entrypoint.sh
77

88
# prevent interactive messages in apt install
99
ARG DEBIAN_FRONTEND=noninteractive
1010

11-
# Switch to ros-testing
12-
RUN echo "deb http://packages.ros.org/ros2-testing/ubuntu $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/ros2-latest.list
13-
1411
# install build dependencies
1512
RUN --mount=type=cache,target=/var/cache/apt,id=apt \
1613
apt-get update && apt-get upgrade -y --with-new-pkgs \

0 commit comments

Comments
 (0)