From 054f8693d24106c14a353d4d24a63e0847df3c9a Mon Sep 17 00:00:00 2001 From: Wiktor Bajor Date: Sun, 18 Aug 2024 12:31:35 +0200 Subject: [PATCH] Add source of gz controll to dockerfile --- .devcontainer/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 63803ca..047b401 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -44,5 +44,6 @@ RUN . /opt/ros/${ROS_DISTRO}/setup.sh && \ ENV DEBIAN_FRONTEND=dialog ARG WORKSPACE -RUN echo "if [ -f ${WORKSPACE}/install/setup.bash ]; then source ${WORKSPACE}/install/setup.bash; fi" >> /home/$USERNAME/.bashrc +RUN echo "if [ -f ${WORKSPACE}/install/setup.bash ]; then source ${WORKSPACE}/install/setup.bash; fi" >> /home/$USERNAME/.bashrc \ + && echo "if [ -f /gz_ros2_control_ws/install/setup.bash ]; then source /gz_ros2_control_ws/install/setup.bash; fi" >> /home/$USERNAME/.bashrc RUN pip3 install pre-commit