Update my_example.Dockerfile

This commit is contained in:
bjoernellens1 2023-10-23 12:14:06 +02:00 committed by GitHub
parent eb67079042
commit fe2018f00a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,9 +11,12 @@ FROM osrf/ros:${ROS_DISTRO}-desktop as base
SHELL ["/bin/bash", "-c"] # change shell to bash because of better compatibility (standard shell would be sh otherwise).
ENV UNDERLAY_WS=${UNDERLAY_WS}
ENV OVERLAY_WS=${OVERLAY_WS}
# First checks
RUN echo "Underlay WS:" && ${UNDERLAY_WS}
RUN echo "Overlay WS:" && ${OVERLAY_WS}
RUN echo "Underlay WS:" && $UNDERLAY_WS
RUN echo "Overlay WS:" && $OVERLAY_WS
# Create Colcon workspace with external dependencies
RUN mkdir -p ${UNDERLAY_WS}/src