3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/docker
Luke Granger-Brown 48c23a086b dockerTools.pullImage: force disable skopeo's progress bar
skopeo will disable the progress bar if it detects that stdout isn't a
TTY - in order to make it think that stdout _isn't_ a TTY and therefore
avoid it printing a lot of "…" on separate lines, we pipe the output
through cat.

This changes the output from:

…
…
…
…
…
…

to the eminently more useful and less spammy:

Getting image source signatures
Copying blob sha256:[snip]
Copying blob sha256:[snip]
Copying blob sha256:[snip]
Copying config sha256:[snip]
Writing manifest to image destination
Storing signatures
2021-07-03 01:40:38 +00:00
..
default.nix dockerTools.pullImage: force disable skopeo's progress bar 2021-07-03 01:40:38 +00:00
detjson.py
examples.nix nixosTests.docker-tools: Fix nixFromDockerHub example sha 2021-06-01 15:13:03 +02:00
nix-prefetch-docker
nix-prefetch-docker.nix treewide: stdenv.lib -> lib 2021-01-24 01:49:49 +01:00
stream_layered_image.py dockerTools.streamLayeredImage: resolve duplicate env vars 2021-03-25 23:29:54 +00:00
tarsum.go