Skip to content

Commit

Permalink
Add source of gz controll to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiktor-99 committed Aug 18, 2024
1 parent c2d0402 commit 054f869
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 054f869

Please sign in to comment.