diff options
| author | Koen Wilde <koen@chillheid.nl> | 2022-10-12 23:46:01 +0200 |
|---|---|---|
| committer | Koen Wilde <koen@chillheid.nl> | 2022-10-13 16:27:13 +0200 |
| commit | 2f5fcda329757f9a3d58dca4842e075c7f14ee2d (patch) | |
| tree | 8e173b4a891bdf1ab4ce229be5edafd668d834e9 /pkgs/development/python-modules/rangehttpserver | |
| parent | 9bf75dd50b7b6d3ce6aaf6563db95f41438b9bdb (diff) | |
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.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
