From e6f85a810ddb2986cd7aa2124d4b140c3d7941a2 Mon Sep 17 00:00:00 2001 From: Hussein Ait-Lahcen Date: Fri, 22 Mar 2019 11:34:32 +0100 Subject: chore(nix-cli): upgrade from 2.1.3 to 2.2.1 --- debian/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'debian/Dockerfile') diff --git a/debian/Dockerfile b/debian/Dockerfile index d8e9b97..f7034d2 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -2,7 +2,7 @@ FROM debian:stable-slim ARG NIX_VERSION -ENV NIX_VERSION ${NIX_VERSION:-2.1.3} +ENV NIX_VERSION ${NIX_VERSION:-2.2.1} ARG LANG ENV LANG ${LANG:-"en_US.UTF-8"} @@ -11,7 +11,9 @@ RUN addgroup --gid 30000 --system nixbld \ && adduser --disabled-password nixuser \ && mkdir -m 0755 /nix && chown nixuser /nix \ && apt update && apt install -y wget bzip2 \ - && apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + && apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ + # sandboxing enabled by default since 2.2 + && mkdir -p /etc/nix && echo 'sandbox = false' > /etc/nix/nix.conf USER nixuser ENV USER=nixuser -- cgit v1.2.3