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".

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 1s 7s 7s 8s 1s
Eval 7s 29s 3h05m56s 3h06m04s 0s
Build 18s 2m09s - - 0s
Suite 1s 2m46s - - 3h05m26s

Timeline

0s10s20s30s