Add note for kaniko and resolv.conf

This commit is contained in:
Sven-Hendrik Haase 2020-10-18 05:02:53 +02:00
parent 13793e559d
commit 2706f3bb9a
No known key found for this signature in database
GPG Key ID: 39E4B877E62EB915

View File

@ -8,6 +8,8 @@ RUN ROOTFS="$(curl --continue-at - --remote-name --write-out "%{filename_effecti
FROM scratch AS base
COPY --from=verify /rootfs/ /
# Fix kaniko DNS problems as kaniko uses the current layer's resolv.conf.
COPY --from=verify /etc/resolv.conf /etc/resolv.conf
# manually run all alpm hooks that can't be run inside the fakechroot