3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/docker
Louis Blin b3f68289df dockerTools.streamLayeredImage: resolve duplicate env vars
For images running on Kubernetes, there is no guarantee on how duplicate
environment variables in the image config will be handled. This seems
to be different from Docker, where the last environment variable value
is consistently selected.

The current code for `streamLayeredImage` was exploiting that assumption
to easily propagate environment variables from the base image, leaving
duplicates unchecked. It should rather resolve these duplicates to
ensure consistent behavior on Docker and Kubernetes.
2021-03-25 23:29:54 +00:00
..
default.nix dockerTools.buildLayeredImage: support fromImage 2021-03-23 14:50:42 +00:00
detjson.py
examples.nix dockerTools.buildLayeredImage: support fromImage 2021-03-23 14:50:42 +00: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