summaryrefslogtreecommitdiff
path: root/.gitlab-ci/run-docker.sh
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci/run-docker.sh')
-rwxr-xr-x.gitlab-ci/run-docker.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci/run-docker.sh b/.gitlab-ci/run-docker.sh
index 6574a4f4af..46d20f0161 100755
--- a/.gitlab-ci/run-docker.sh
+++ b/.gitlab-ci/run-docker.sh
@@ -138,7 +138,8 @@ if [ $run == 1 ]; then
echo -e "\e[1;32mRUNNING\e[0m: ${base} as ${TAG}"
${CMD} run \
--rm \
- --volume "$(pwd)/..:/home/user/app" \
+ --userns=keep-id \
+ --volume "$(pwd)/..:/home/user/app:rw,z" \
--workdir "/home/user/app" \
--tty \
--interactive "${TAG}" \