Skip to content

Commit

Permalink
Use username arg in for adding command to bashrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiktor-99 committed Aug 17, 2024
1 parent 75941ec commit ddc4bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ RUN apt-get update --fix-missing \
ENV DEBIAN_FRONTEND=dialog

ARG WORKSPACE
RUN echo "if [ -f ${WORKSPACE}/install/setup.bash ]; then source ${WORKSPACE}/install/setup.bash; fi" >> /home/ros/.bashrc
RUN echo "if [ -f ${WORKSPACE}/install/setup.bash ]; then source ${WORKSPACE}/install/setup.bash; fi" >> /home/$USERNAME/.bashrc
RUN pip3 install pre-commit

0 comments on commit ddc4bf6

Please sign in to comment.