Update my_example.Dockerfile

This commit is contained in:
bjoernellens1 2023-10-23 13:43:09 +02:00 committed by GitHub
parent a30326b570
commit b8de99b37f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ 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
@ -71,7 +71,7 @@ RUN source /base_ws/install/setup.bash \
&& apt-get update \ && apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install \ && DEBIAN_FRONTEND=noninteractive apt-get install \
nano \ nano \
&& rosdep install --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} -y \ #&& rosdep install --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} -y \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN source /base_ws/install/setup.bash \ RUN source /base_ws/install/setup.bash \