diff options
Diffstat (limited to 'debian/Dockerfile')
-rw-r--r-- | debian/Dockerfile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/debian/Dockerfile b/debian/Dockerfile index 90b2e65..e5d410e 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile | |||
@@ -2,7 +2,7 @@ | |||
2 | FROM debian:stable-slim | 2 | FROM debian:stable-slim |
3 | 3 | ||
4 | ARG NIX_VERSION | 4 | ARG NIX_VERSION |
5 | ENV NIX_VERSION ${NIX_VERSION:-2.3.1} | 5 | ENV NIX_VERSION ${NIX_VERSION:-2.3.4} |
6 | ARG LANG | 6 | ARG LANG |
7 | ENV LANG ${LANG:-"en_US.UTF-8"} | 7 | ENV LANG ${LANG:-"en_US.UTF-8"} |
8 | 8 | ||
@@ -40,9 +40,6 @@ RUN nix-env -iA nixpkgs.glibcLocales | |||
40 | 40 | ||
41 | # < Nix context as a volume | 41 | # < Nix context as a volume |
42 | # We want to be able to define /nix/store as a volume | 42 | # We want to be able to define /nix/store as a volume |
43 | # We thus need to "save" the current nix context to be able | ||
44 | # to restore it at startup time | ||
45 | RUN cp -R /nix /home/nixuser/initial-nix | ||
46 | VOLUME ["/nix"] | 43 | VOLUME ["/nix"] |
47 | # Create bash profile | 44 | # Create bash profile |
48 | COPY --chown=nixuser:nixuser files/.profile ${HOME}/.profile | 45 | COPY --chown=nixuser:nixuser files/.profile ${HOME}/.profile |