forked from mirrors/nixpkgs
Merge pull request #134071 from lukegb/skopeo-cli-change
dockerTools.pullImage: fix for skopeo 1.4.x
This commit is contained in:
commit
310dd717ee
|
@ -111,12 +111,13 @@ rec {
|
|||
destNameTag = "${finalImageName}:${finalImageTag}";
|
||||
} ''
|
||||
skopeo \
|
||||
--src-tls-verify=${lib.boolToString tlsVerify} \
|
||||
--insecure-policy \
|
||||
--tmpdir=$TMPDIR \
|
||||
--override-os ${os} \
|
||||
--override-arch ${arch} \
|
||||
copy "$sourceURL" "docker-archive://$out:$destNameTag" \
|
||||
copy \
|
||||
--src-tls-verify=${lib.boolToString tlsVerify} \
|
||||
"$sourceURL" "docker-archive://$out:$destNameTag" \
|
||||
| cat # pipe through cat to force-disable progress bar
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue