Save homedir state in docker container

This commit is contained in:
Marcus Holland-Moritz 2023-08-27 21:46:16 +02:00
parent 05425c85ae
commit d280d470ec

View File

@ -10,6 +10,7 @@ run:
--cap-add SYS_ADMIN --device /dev/fuse --privileged \
--mount type=bind,source="$(ROOT_DIR)"/..,target=/workspace,readonly \
--mount type=bind,source="$(ROOT_DIR)"/../@docker-ccache,target=/ccache \
--mount type=bind,source="$(ROOT_DIR)"/../@docker-home,target=/home/ubuntu \
--mount type=bind,source="$(ROOT_DIR)"/../@docker-build,target=/home/ubuntu/build \
--env CCACHE_DIR=/ccache --env CTEST_PARALLEL_LEVEL=$(nproc) \
--entrypoint /bin/bash $(IMAGE)