We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b676ef + 558dd43 commit 45d1967Copy full SHA for 45d1967
Dockerfile
@@ -2,7 +2,7 @@
2
FROM ros:humble
3
4
# Set the working directory
5
-WORKDIR /ros2_workspace/src
+WORKDIR /root/ros2_ws/src
6
7
COPY . .
8
# Install additional dependencies
@@ -17,9 +17,8 @@ RUN apt-get update \
17
ros-humble-rviz2
18
19
# Set environment variables
20
-ENV ROS_DISTRO humble
21
ENV ROS_VERSION 2
22
-WORKDIR /ros2_workspace
+WORKDIR /root/ros2_ws
23
RUN . /opt/ros/humble/setup.sh
24
RUN rosdep update
25
RUN rosdep install --from-paths src --ignore-src -y
0 commit comments