Merge pull request #1251 from yw-liu/master

Add /etc/nsswitch.conf for /etc/hosts name resolution
This commit is contained in:
Thomas Strömberg
2020-05-20 09:03:33 -07:00
committed by GitHub
4 changed files with 28 additions and 0 deletions
+1
View File
@@ -50,6 +50,7 @@ COPY --from=1 /distroless/bazel-bin/experimental/busybox/busybox/ /busybox/
VOLUME /busybox
COPY files/ca-certificates.crt /kaniko/ssl/certs/
COPY --from=0 /kaniko/.docker /kaniko/.docker
COPY files/nsswitch.conf /etc/nsswitch.conf
ENV HOME /root
ENV USER /root
ENV PATH /usr/local/bin:/kaniko:/busybox