Customized dockerfile to keep things up to date

This commit is contained in:
niggl committed 2022-06-11 18:38:24 +02:00
1 parent b004137b94
commit bbadacbafa
3 files changed
+340

No files matched your search

+17
View 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" ]