mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-09 20:41:04 -04:00
Save homedir state in docker container
This commit is contained in:
parent
05425c85ae
commit
d280d470ec
@ -10,6 +10,7 @@ run:
|
|||||||
--cap-add SYS_ADMIN --device /dev/fuse --privileged \
|
--cap-add SYS_ADMIN --device /dev/fuse --privileged \
|
||||||
--mount type=bind,source="$(ROOT_DIR)"/..,target=/workspace,readonly \
|
--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-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 \
|
--mount type=bind,source="$(ROOT_DIR)"/../@docker-build,target=/home/ubuntu/build \
|
||||||
--env CCACHE_DIR=/ccache --env CTEST_PARALLEL_LEVEL=$(nproc) \
|
--env CCACHE_DIR=/ccache --env CTEST_PARALLEL_LEVEL=$(nproc) \
|
||||||
--entrypoint /bin/bash $(IMAGE)
|
--entrypoint /bin/bash $(IMAGE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user