Skip to content

Commit

Permalink
Use ros testing image
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Nov 30, 2024
1 parent 3125a7a commit bca922c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
# 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

# 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 \
Expand Down

0 comments on commit bca922c

Please sign in to comment.