initial import
This commit is contained in:
parent
897261a64b
commit
ccdae2bba6
5 changed files with 56 additions and 4 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM gcr.io/kaniko-project/executor:v0.6.0 AS kaniko
|
||||
|
||||
FROM alpine:3.8
|
||||
|
||||
# clone the official kaniko container into this one, env vars needs to be re-set
|
||||
COPY --from=kaniko / /
|
||||
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
|
||||
COPY plugin.sh /usr/bin/
|
||||
ENTRYPOINT [ "/usr/bin/plugin.sh" ]
|
Loading…
Add table
Add a link
Reference in a new issue