drone-kaniko/Dockerfile

17 lines
402 B
Docker
Raw Permalink Normal View History

2021-11-18 07:40:54 +00:00
FROM busybox
FROM gcr.io/kaniko-project/executor:v1.7.0
2018-11-21 14:45:09 +00:00
2021-11-18 07:40:54 +00:00
ENV PATH /bin
2018-11-21 14:45:09 +00:00
ENV HOME /root
2019-01-08 19:27:27 +00:00
ENV USER root
2018-11-21 14:45:09 +00:00
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
2021-11-18 07:40:54 +00:00
COPY --from=busybox / /
2018-11-21 14:45:09 +00:00
# add the wrapper which acts as a drone plugin
COPY plugin.sh /kaniko/plugin.sh
2021-11-18 07:40:54 +00:00
ENTRYPOINT [ "/kaniko/plugin.sh" ]