ci: Make run-docker run work

We want to have a writable volume and the same user
inside the container.
This commit is contained in:
Matthias Clasen 2023-05-04 06:55:53 -04:00
parent d288931b45
commit f41e58d179

View File

@ -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}" \