3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #276986 from trofi/dockerTools.tests.docker-tools-no-aliases

dockerTools.tests.docker-tools: user `runCommand` instead of `runComm…
This commit is contained in:
Robert Hensing 2023-12-28 00:50:45 +01:00 committed by GitHub
commit ddd6c029b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ let
# Rootfs diffs for layers 1 and 2 are identical (and empty)
layer1 = pkgs.dockerTools.buildImage { name = "empty"; };
layer2 = layer1.overrideAttrs (_: { fromImage = layer1; });
repeatedRootfsDiffs = pkgs.runCommandNoCC "image-with-links.tar" {
repeatedRootfsDiffs = pkgs.runCommand "image-with-links.tar" {
nativeBuildInputs = [pkgs.jq];
} ''
mkdir contents