Skip to content

Commit

Permalink
fix(flake): do not compress base images
Browse files Browse the repository at this point in the history
Signed-off-by: Cameron Smith <[email protected]>
  • Loading branch information
cameronraysmith committed Jul 6, 2024
1 parent 4b7b354 commit 38a1bed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion containers/sudoimage.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pkgs.dockerTools.buildImage {
name = "sudoimage";
tag = "latest";
fromImage = suImage;
compressor = "zstd";
compressor = "none";

copyToRoot = pkgs.sudo;

Expand Down
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
pamImage = pkgs.dockerTools.buildImage {
name = "pamimage";
tag = "latest";
compressor = "zstd";
compressor = "none";

copyToRoot = pkgs.pam;

Expand All @@ -250,7 +250,7 @@
name = "suimage";
tag = "latest";
fromImage = pamImage;
compressor = "zstd";
compressor = "none";

copyToRoot = pkgs.su;
};
Expand All @@ -265,13 +265,13 @@
tag = "latest";
maxLayers = 70;
fromImage = sudoImage;
compressor = "none";
extraPkgs = with pkgs; [
ps
su
sudo
tree
vim
zstd
];
nixConf = {
allowed-users = [ "*" ];
Expand Down

0 comments on commit 38a1bed

Please sign in to comment.