Skip to content

Commit

Permalink
Updated Dockerfile to support 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
marip8 authored Jun 19, 2024
1 parent a2750a9 commit 300437b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ USER root
# Install
RUN apt update \
&& apt upgrade -y \
&& apt install -y cmake curl git python3 python3-distutils python3-pip liboctomap-dev \
&& python3 -m pip install vcstool -q \
&& python3 -m pip install colcon-common-extensions -q \
&& python3 -m pip install rosdep -q \
&& apt install -y cmake curl git python3 liboctomap-dev

# Add ROS2 sources to install ROS infrastructure tools
RUN curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | tee /etc/apt/sources.list.d/ros2.list > /dev/null

# Install and configure ROS infrastructure tools
RUN apt update \
&& apt install python3-vcstool python3-colcon-common-extensions python3-rosdep
&& rosdep init \
&& rosdep update

Expand Down

0 comments on commit 300437b

Please sign in to comment.