]> git.immae.eu Git - github/fretlink/docker-nix.git/blobdiff - alpine/Dockerfile
volume: no need to duplicate the initial nix store
[github/fretlink/docker-nix.git] / alpine / Dockerfile
index 0e4234539357a5e9e06df70ee2f21bdc4d712f91..1da307a8cdbcfe8f8cbd9b2d2bde14fe8fe551e5 100644 (file)
@@ -40,9 +40,6 @@ RUN nix-env -iA nixpkgs.glibcLocales
 
 # < Nix context as a volume
 # We want to be able to define /nix/store as a volume
-# We thus need to "save" the current nix context to be able
-# to restore it at startup time
-RUN cp -R /nix /home/nixuser/initial-nix
 VOLUME ["/nix"]
 # Create bash profile
 COPY --chown=nixuser:nixuser files/.profile ${HOME}/.profile