Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Run "nix-store --optimise", too.
Browse files Browse the repository at this point in the history
This saves 0.02 MiB. :-)
  • Loading branch information
peti committed Nov 2, 2018
1 parent ded762e commit 8107c43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RUN wget https://nixos.org/releases/nix/nix-2.1.3/nix-2.1.3-x86_64-linux.tar.bz2
&& rm -r /nix-*-x86_64-linux* \
&& rm -rf /var/cache/apk/* \
&& /nix/var/nix/profiles/default/bin/nix-collect-garbage --delete-old \
&& /nix/var/nix/profiles/default/bin/nix-store --optimise \
&& /nix/var/nix/profiles/default/bin/nix-store --verify --check-contents

ONBUILD ENV \
Expand Down

0 comments on commit 8107c43

Please sign in to comment.