From: Matthias Clasen Date: Thu, 4 May 2023 10:55:53 +0000 (-0400) Subject: ci: Make run-docker run work X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~311^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f41e58d179478fcee379d8fd32706382bd74ce3e;p=gtk4.git ci: Make run-docker run work We want to have a writable volume and the same user inside the container. --- 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}" \