Skip to content

Commit

Permalink
Remove sandbox=false
Browse files Browse the repository at this point in the history
  • Loading branch information
ismaelbouyaf committed Oct 14, 2021
1 parent a00409b commit efe12e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ RUN addgroup -g 30000 -S nixbld \
&& mkdir -m 0755 /nix && chown nixuser /nix \
&& apk add --no-cache bash xz \
&& rm -rf /var/cache/apk/* \
# sandboxing enabled by default since 2.2
&& mkdir -p /etc/nix && echo 'sandbox = false' > /etc/nix/nix.conf
&& mkdir -p /etc/nix && touch /etc/nix/nix.conf

USER nixuser
ENV USER=nixuser
Expand Down
3 changes: 1 addition & 2 deletions debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ RUN addgroup --gid 30000 --system nixbld \
&& mkdir -m 0755 /nix && chown nixuser /nix \
&& apt update && apt install -y wget xz-utils \
&& 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
&& mkdir -p /etc/nix && touch /etc/nix/nix.conf

USER nixuser
ENV USER=nixuser
Expand Down

0 comments on commit efe12e0

Please sign in to comment.