Initial version new build pattern

This commit is contained in:
Lukas Eipert 2022-02-21 14:49:55 +01:00
parent 51e4dea7ac
commit c3e3882320
8 changed files with 75 additions and 2 deletions

0
kaniko/.gitlab-ci.yml Normal file
View file

16
kaniko/Dockerfile Normal file
View file

@ -0,0 +1,16 @@
FROM gcr.io/kaniko-project/executor:debug-v1.3.0 AS kaniko
FROM alpine/git
# See https://github.com/GoogleContainerTools/kaniko/blob/master/deploy/Dockerfile#L65-L70
COPY --from=kaniko /kaniko/ /kaniko/
COPY --from=kaniko /etc/nsswitch.conf /etc/nsswitch.conf
ENV HOME /root
ENV USER root
ENV PATH /usr/local/bin:/kaniko:$PATH
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
ENTRYPOINT ["/kaniko/executor"]

3
kaniko/README.md Normal file
View file

@ -0,0 +1,3 @@
# registry.gitlab.com/gitlab-org/gitlab-build-images/kaniko
This is a image around the `kaniko` executor

1
kaniko/VERSION Normal file
View file

@ -0,0 +1 @@
1.0.0