nixpkgs/pkgs/build-support/docker
Richard Wallace 3b65b3f6d6 dockerTools.buildLayeredImage: store all paths passed in final layer
Fixes #78744

My previous change broke when there are more packages than the maximum
number of layers. I had assumed that the `store-path-to-layer.sh` was
only ever passed a single store path, but that is not the case if
there are multiple packages going into the final layer. To fix this, we
loop through the paths going into the final layer, appending them to the
tar file and making sure they end up at the right path.
2020-02-14 09:26:26 +01:00
..
default.nix dockerTools.*: Assertion against building for Darwin (#77952) 2020-01-31 21:17:40 +01:00
detjson.py
examples.nix dockerTools.buildLayeredImage: store all paths passed in final layer 2020-02-14 09:26:26 +01:00
nix-prefetch-docker dockerTools: add nix-prefetch-docker script 2019-04-06 14:16:40 +02:00
nix-prefetch-docker.nix treewide: use dontUnpack 2019-07-01 04:23:51 -04:00
store-path-to-layer.sh dockerTools.buildLayeredImage: store all paths passed in final layer 2020-02-14 09:26:26 +01:00
tarsum.go dockerTools.tarsum: Fix upstream import 2018-03-26 18:47:31 +02:00