Update my_example.Dockerfile

This commit is contained in:
bjoernellens1 2023-10-23 13:06:57 +02:00 committed by GitHub
parent 24cdb64490
commit 76c3f8bea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,12 +60,13 @@ ENV DEBIAN_FRONTEND noninteractive
RUN source /base_ws/install/setup.bash \ 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 \
&& colcon build --symlink-install && colcon build --symlink-install \
&& rosdep install --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} -y
# Set up the entrypoint # Set up the entrypoint
COPY ./docker/my_entrypoint.sh /entrypoint.sh COPY ./docker/my_entrypoint.sh /entrypoint.sh