Created
October 18, 2019 18:35
-
-
Save sandromello/9e6eab27854b7b7e019088b48153bb6d to your computer and use it in GitHub Desktop.
kaniko-custom
This file contains hidden or 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
FROM gcr.io/kaniko-project/executor:debug-v0.13.0 | |
FROM node:8.9.4-alpine | |
COPY --from=0 /kaniko/* /kaniko/ | |
COPY --from=0 /kaniko/.docker/config.json /kaniko/.docker/config.json | |
COPY --from=0 /busybox/ /busybox/ | |
VOLUME /busybox | |
COPY --from=0 /kaniko/ssl/certs/ /kaniko/ssl/certs/ | |
RUN apk add --no-cache bash git python make g++ | |
ENV HOME /root | |
ENV USER /root | |
ENV PATH /usr/local/bin:/kaniko:/busybox:/usr/local/go/bin:/sbin:/bin:/usr/bin | |
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 | |
RUN ["docker-credential-gcr", "config", "--token-source=env"] | |
ENTRYPOINT ["/kaniko/executor"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment