A thin shim-wrapper around the official Google Kaniko Docker image to make it behave like the Drone Docker plugin.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
drone-kaniko/Dockerfile

16 lines
402 B

FROM busybox
FROM gcr.io/kaniko-project/executor:v1.7.0
ENV PATH /bin
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
COPY --from=busybox / /
# add the wrapper which acts as a drone plugin
COPY plugin.sh /kaniko/plugin.sh
ENTRYPOINT [ "/kaniko/plugin.sh" ]