nixpkgs/pkgs/build-support/docker
Koen Wilde 2f5fcda329 build-support: Fix error when building images with many layers
When building a docker image using `dockertools.buildLayeredImage`, the
resulting image layers are passed to `jq` through the command line. When
building an image with too many layers this would exceed the maximum
command line argument length.

Hence, we store the list of layers in the Nix store and pass them to
`jq` as a file argument using `--slurpfile`.

Fixes #140908.
2022-10-13 16:27:13 +02:00
..
default.nix build-support: Fix error when building images with many layers 2022-10-13 16:27:13 +02:00
detjson.py docker: add final newline to detjson.py 2020-11-09 11:39:28 +00:00
examples.nix Merge pull request #139892 from hercules-ci/dockerTools-test-pullImage 2021-09-29 15:27:49 +02:00
nix-prefetch-docker nix-prefetch-docker: output informational messages to stderr 2020-12-01 16:58:29 +00:00
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
tarsum.nix tarsum: init 2021-08-05 08:54:41 +10:00