Merge pull request #129058 from lukegb/skopeo-force-no-progressbar

dockerTools.pullImage: force disable skopeo's progress bar
This commit is contained in:
Jörg Thalheim 2021-07-03 07:17:20 +01:00 committed by GitHub
commit 6c408d8399
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,7 +117,8 @@ rec {
--tmpdir=$TMPDIR \
--override-os ${os} \
--override-arch ${arch} \
copy "$sourceURL" "docker-archive://$out:$destNameTag"
copy "$sourceURL" "docker-archive://$out:$destNameTag" \
| cat # pipe through cat to force-disable progress bar
'';
# We need to sum layer.tar, not a directory, hence tarsum instead of nix-hash.