diff --git a/.github/Dockerfiles/C-PAC.develop-ABCD-HCP-bionic.Dockerfile b/.github/Dockerfiles/C-PAC.develop-ABCD-HCP-bionic.Dockerfile index 159477cf12..9fd301fb5b 100644 --- a/.github/Dockerfiles/C-PAC.develop-ABCD-HCP-bionic.Dockerfile +++ b/.github/Dockerfiles/C-PAC.develop-ABCD-HCP-bionic.Dockerfile @@ -29,4 +29,5 @@ ENV PATH=$PATH:/home/c-pac_user/.local/bin \ PYTHONPATH=$PYTHONPATH:$PYTHONUSERBASE/lib/python3.10/site-packages # set user +WORKDIR /home/c-pac_user # USER c-pac_user diff --git a/.github/Dockerfiles/C-PAC.develop-fMRIPrep-LTS-xenial.Dockerfile b/.github/Dockerfiles/C-PAC.develop-fMRIPrep-LTS-xenial.Dockerfile index 095d0649aa..539a4aed25 100644 --- a/.github/Dockerfiles/C-PAC.develop-fMRIPrep-LTS-xenial.Dockerfile +++ b/.github/Dockerfiles/C-PAC.develop-fMRIPrep-LTS-xenial.Dockerfile @@ -31,4 +31,5 @@ ENV PATH=$PATH:/home/c-pac_user/.local/bin \ PYTHONPATH=$PYTHONPATH:$PYTHONUSERBASE/lib/python3.10/site-packages # set user +WORKDIR /home/c-pac_user # USER c-pac_user diff --git a/.github/Dockerfiles/C-PAC.develop-jammy.Dockerfile b/.github/Dockerfiles/C-PAC.develop-jammy.Dockerfile index 1a5cf0fa1c..d67bbfabdf 100644 --- a/.github/Dockerfiles/C-PAC.develop-jammy.Dockerfile +++ b/.github/Dockerfiles/C-PAC.develop-jammy.Dockerfile @@ -48,4 +48,5 @@ ENV PATH=$PATH:/home/c-pac_user/.local/bin \ PYTHONPATH=$PYTHONPATH:$PYTHONUSERBASE/lib/python3.10/site-packages # set user +WORKDIR /home/c-pac_user # USER c-pac_user diff --git a/.github/Dockerfiles/C-PAC.develop-lite-jammy.Dockerfile b/.github/Dockerfiles/C-PAC.develop-lite-jammy.Dockerfile index fda9dc9287..427a12f628 100644 --- a/.github/Dockerfiles/C-PAC.develop-lite-jammy.Dockerfile +++ b/.github/Dockerfiles/C-PAC.develop-lite-jammy.Dockerfile @@ -49,4 +49,5 @@ ENV PATH=$PATH:/home/c-pac_user/.local/bin \ PYTHONPATH=$PYTHONPATH:$PYTHONUSERBASE/lib/python3.10/site-packages # set user +WORKDIR /home/c-pac_user # USER c-pac_user