2019-01-07 23:31:10 +01:00
|
|
|
FROM gcr.io/kaniko-project/executor:debug-v0.7.0
|
2018-11-21 15:45:09 +01:00
|
|
|
|
|
|
|
ENV HOME /root
|
|
|
|
ENV USER /root
|
|
|
|
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
|
2019-01-07 23:31:10 +01:00
|
|
|
COPY plugin.sh /kaniko/plugin.sh
|
|
|
|
ENTRYPOINT [ "/kaniko/plugin.sh" ]
|