Skip to content

Commit

Permalink
Change: ROS2 Humble now build from source
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluizmendonca committed Nov 21, 2024
1 parent b732629 commit 57d383f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
FROM ubuntu:22.04


# Install ROS2
RUN apt update -y && \
apt install -y \
curl \
gnupg2 \
lsb-release && \
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add - && \
sh -c 'echo "deb [arch=amd64,arm64] http://packages.ros.org/ros2/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros2-latest.list' && \
apt update -y && \
apt install -y \
ros-humble-desktop && \
rm -rf /var/lib/apt/lists/*

RUN apt update -y && \
apt install -y \
vim \
Expand Down

0 comments on commit 57d383f

Please # to comment.