aboutsummaryrefslogtreecommitdiffhomepage
path: root/alpine/Dockerfile
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2020-12-17 14:52:08 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2020-12-17 15:03:25 +0100
commitd7db3dbcf09fe8940319777df11c956bb78dddd7 (patch)
treecad6863a86adc9dae33466b9d5046ced3773cb20 /alpine/Dockerfile
parent62b9189f2da7d9b0804f38d564a1efed1e5db0fe (diff)
downloaddocker-nix-d7db3dbcf09fe8940319777df11c956bb78dddd7.tar.gz
docker-nix-d7db3dbcf09fe8940319777df11c956bb78dddd7.tar.zst
docker-nix-d7db3dbcf09fe8940319777df11c956bb78dddd7.zip
Upgrade nix version
Diffstat (limited to 'alpine/Dockerfile')
-rw-r--r--alpine/Dockerfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/alpine/Dockerfile b/alpine/Dockerfile
index f6ea60c..db794af 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.4} 5ENV NIX_VERSION ${NIX_VERSION:-2.3.9}
6ARG LANG 6ARG LANG
7ENV LANG ${LANG:-"en_US.UTF-8"} 7ENV LANG ${LANG:-"en_US.UTF-8"}
8 8
@@ -32,8 +32,7 @@ SHELL ["/usr/bin/env", "bash", "-l", "-c"]
32# Create bash profile 32# Create bash profile
33COPY --chown=nixuser:nixuser files/.profile ${HOME}/.profile 33COPY --chown=nixuser:nixuser files/.profile ${HOME}/.profile
34 34
35RUN nix-channel --add https://nixos.org/channels/nixpkgs-19.09-darwin nixpkgs \ 35RUN nix-channel --add https://nixos.org/channels/nixos-unstable nixpkgs \
36 && nix-channel --add https://nixos.org/channels/nixpkgs-unstable unstable \
37 && nix-channel --update 36 && nix-channel --update
38 37
39# Propagate UTF8 38# Propagate UTF8