Customized dockerfile to keep things up to date
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM alpine:3.15 as BUILD
|
||||
WORKDIR /app
|
||||
RUN apk add dos2unix
|
||||
COPY plugin.sh ./
|
||||
RUN dos2unix plugin.sh
|
||||
|
||||
FROM gcr.io/kaniko-project/executor:debug
|
||||
|
||||
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 --from=BUILD /app/plugin.sh /kaniko/plugin.sh
|
||||
ENTRYPOINT [ "/kaniko/plugin.sh" ]
|
||||
Reference in New Issue
Block a user