From ec5394c0d09372b60d349a40fcc113bab31c023c Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Mon, 23 Oct 2023 12:08:34 +0200 Subject: [PATCH] Update my_example.Dockerfile --- docker/my_example.Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/my_example.Dockerfile b/docker/my_example.Dockerfile index 5ed00bc..eada0dc 100644 --- a/docker/my_example.Dockerfile +++ b/docker/my_example.Dockerfile @@ -12,8 +12,8 @@ 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). # Create Colcon workspace with external dependencies -RUN mkdir -p /${UNDERLAY_WS}/src -WORKDIR /${UNDERLAY_WS}/src +RUN mkdir -p ${UNDERLAY_WS}/src +WORKDIR ${UNDERLAY_WS}/src COPY my.repos . RUN mv my.repos dependencies.repos RUN vcs import < dependencies.repos @@ -63,7 +63,7 @@ RUN source ${UNDERLAY_WS}/install/setup.bash \ && rosdep install --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} -y \ && rm -rf /var/lib/apt/lists/* -RUN source /rmp_ws/install/setup.bash \ +RUN source ${UNDERLAY_WS}/install/setup.bash \ && colcon build --symlink-install # Set up the entrypoint