aboutsummaryrefslogtreecommitdiffhomepage
path: root/alpine
diff options
context:
space:
mode:
Diffstat (limited to 'alpine')
-rw-r--r--alpine/Dockerfile5
1 files changed, 1 insertions, 4 deletions
diff --git a/alpine/Dockerfile b/alpine/Dockerfile
index 0e42345..2c4ae1f 100644
--- a/alpine/Dockerfile
+++ b/alpine/Dockerfile
@@ -2,7 +2,7 @@
2FROM alpine 2FROM alpine
3 3
4ARG NIX_VERSION 4ARG NIX_VERSION
5ENV NIX_VERSION ${NIX_VERSION:-2.3.1} 5ENV NIX_VERSION ${NIX_VERSION:-2.3.4}
6ARG LANG 6ARG LANG
7ENV LANG ${LANG:-"en_US.UTF-8"} 7ENV 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
45RUN cp -R /nix /home/nixuser/initial-nix
46VOLUME ["/nix"] 43VOLUME ["/nix"]
47# Create bash profile 44# Create bash profile
48COPY --chown=nixuser:nixuser files/.profile ${HOME}/.profile 45COPY --chown=nixuser:nixuser files/.profile ${HOME}/.profile