Update my_example.Dockerfile

This commit is contained in:
bjoernellens1 2023-10-23 12:38:59 +02:00 committed by GitHub
parent 4d03b2c02c
commit 71d9e4db52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,9 +25,10 @@ RUN source /opt/ros/${ROS_DISTRO}/setup.bash \
&& apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \
ros-${ROS_DISTRO}-turtlesim \ ros-${ROS_DISTRO}-turtlesim \
ros-${ROS_DISTRO}-rqt \ ros-${ROS_DISTRO}-rqt \
&& rosdep install --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} -y #&& rosdep install --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} -y
RUN source /opt/ros/${ROS_DISTRO}/setup.bash \ RUN source /opt/ros/${ROS_DISTRO}/setup.bash \
&& colcon build --symlink-install && colcon build --symlink-install
&& rosdep install --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} -y
#ENV UNDERLAY_WS=/base_ws #ENV UNDERLAY_WS=/base_ws