11e1d961

By: Michael Lynch <git@mtlynch.io>

Make Nix Docker image resolver self-contained

Generate a minimal resolv.conf inside Kaniko's temporary PRoot filesystem instead of copying /etc/resolv.conf from the Nix builder. Some CI builders do not expose /etc/resolv.conf, which caused the Docker image derivation to fail with "cp: cannot stat '/etc/resolv.conf': No such file or directory".