-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new Kaniko Dockerfile for PDNS builder.
Put it besides `Dockerfile-kaniko` until it is clear that one can be removed.
- Loading branch information
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM gcr.io/kaniko-project/executor:v1.12.0-debug AS kaniko | ||
|
||
FROM alpine:3.11 | ||
|
||
RUN apk --no-cache add bash binutils coreutils git grep openssh-client perl rsync sed tree | ||
|
||
COPY --from=kaniko /kaniko /kaniko | ||
COPY --from=kaniko /etc/nsswitch.conf /etc/nsswitch.conf | ||
COPY --from=busybox:musl /bin /busybox | ||
|
||
ENV HOME /root | ||
ENV USER root | ||
ENV PATH $PATH:/kaniko:/busybox | ||
ENV SSL_CERT_DIR /kaniko/ssl/certs | ||
ENV DOCKER_CONFIG /kaniko/.docker/ | ||
ENV DOCKER_CREDENTIAL_GCR_CONFIG /kaniko/.config/gcloud/docker_credential_gcr_config.json | ||
ENV GOOGLE_APPLICATION_CREDENTIALS='/kaniko/.docker/config.json' | ||
|
||
ENTRYPOINT ["/kaniko/executor"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters