Skip to content
Snippets Groups Projects
Commit 27aa3bc3 authored by Automated MSK Jenkins User's avatar Automated MSK Jenkins User
Browse files

fix: don't change .bashrc

.bashrc is from the home directory which is mounted from the host, so
changes will affect the host system as well as future sessions...
parent ecbd81b4
No related branches found
No related tags found
No related merge requests found
......@@ -49,9 +49,6 @@ docker start ${ID} || exit 1
# enable password-less sudo for msk_jenkins inside the container
docker exec -u 0 -it ${ID} bash -il -c "echo 'msk_jenkins ALL = (ALL) NOPASSWD: ALL' >> /etc/sudoers"
# setup dragon in interactive shell
docker exec -u msk_jenkins -it ${ID} bash -il -c "echo 'source /scratch/dragon/bin/setup.sh ; cd /scratch/dragon' >> ~/.bashrc"
# start interactive shell
echo "==========================================================================================================="
echo " Starting interactive shell in the docker container for ${label} as user msk_jenkins."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment