1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00
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 docker: add final newline to detjson.py 2020-11-09 11:39:28 +00:00
examples.nix dockerTools.buildLayeredImage: support fromImage 2021-03-23 14:50:42 +00: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