drone-kaniko/Dockerfile

12 lines
348 B
Docker
Raw Normal View History

2021-07-09 15:33:47 +02:00
FROM gcr.io/kaniko-project/executor:debug
2018-11-21 15:45:09 +01:00
ENV HOME /root
2019-01-08 20:27:27 +01:00
ENV USER root
2018-11-21 15:45:09 +01: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
# add the wrapper which acts as a drone plugin
COPY plugin.sh /kaniko/plugin.sh
ENTRYPOINT [ "/kaniko/plugin.sh" ]