snowflake: nix store in /dev/shm tmpfs
This avoids an ever-growing nix store in the container.
This commit is contained in:
parent
7473d91888
commit
92883b400f
|
@ -14,7 +14,8 @@ CMD git clone https://caspervk:$GIT_PASSWORD@git.caspervk.net/caspervk/nixos.git
|
|||
cd nixos/ && \
|
||||
git config user.email "snowflake@caspervk.net" && \
|
||||
git config user.name "snowflake" && \
|
||||
nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update --commit-lock-file && \
|
||||
# store in /dev/shm tmpfs to avoid an ever-growing nix store in the container
|
||||
nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update --commit-lock-file --store /dev/shm && \
|
||||
git push && \
|
||||
cd .. && \
|
||||
rm -rf nixos/ && \
|
||||
|
|
Loading…
Reference in a new issue