arion-base: buildLayeredImage -> buildImage to avoid build error
buildLayeredImage doesn't work when the number of nix store layers is 0. This may be fixed by pull https://github.com/NixOS/nixpkgs/pull/80921/files but meanwhile, plain buildImage will do the job.
This commit is contained in:
parent
77b89cb424
commit
1778d76117
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ let
|
||||||
tag = lib.head (lib.strings.splitString "-" (baseNameOf builtImage.outPath));
|
tag = lib.head (lib.strings.splitString "-" (baseNameOf builtImage.outPath));
|
||||||
name = "arion-base";
|
name = "arion-base";
|
||||||
|
|
||||||
builtImage = pkgs.dockerTools.buildLayeredImage {
|
builtImage = pkgs.dockerTools.buildImage {
|
||||||
inherit name;
|
inherit name;
|
||||||
contents = pkgs.runCommand "minimal-contents" {} ''
|
contents = pkgs.runCommand "minimal-contents" {} ''
|
||||||
mkdir -p $out/bin $out/usr/bin
|
mkdir -p $out/bin $out/usr/bin
|
||||||
|
|
Loading…
Reference in a new issue