From fe2018f00ae357a43b8aa1e6be9012bd73733126 Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Mon, 23 Oct 2023 12:14:06 +0200 Subject: [PATCH] Update my_example.Dockerfile --- docker/my_example.Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker/my_example.Dockerfile b/docker/my_example.Dockerfile index 757dfa3..b77f260 100644 --- a/docker/my_example.Dockerfile +++ b/docker/my_example.Dockerfile @@ -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