1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/build-support/docker
Graham Christensen aec80dddc0
dockerTools.buildLayeredImage: pass a list of closures to mkManyPureLayers so it can exclude the top-most level
Before, every docker image had three extra layers:

1. A `closure` layer which is an internal implementation detail of
   calculating the closure of the container
2. a `name-config.json` layer which is the images' run-time
   configuration, and has no business being *in* the image as a layer.
3. a "bulk-layers" layer which is again and implementation detail
   around collecting the image's closure.

None of these layers need to be in the final product.
2019-12-16 12:48:05 -05:00
..
default.nix dockerTools.buildLayeredImage: pass a list of closures to mkManyPureLayers so it can exclude the top-most level 2019-12-16 12:48:05 -05:00
detjson.py
examples.nix dockerTools.examples.nix: set USER in the container config 2019-12-05 09:45:51 +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: restore layer sharing 2019-06-06 07:40:20 +02:00
tarsum.go