mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-12 19:42:55 +01:00
Initial version new build pattern
This commit is contained in:
parent
51e4dea7ac
commit
c3e3882320
8 changed files with 75 additions and 2 deletions
0
kaniko/.gitlab-ci.yml
Normal file
0
kaniko/.gitlab-ci.yml
Normal file
16
kaniko/Dockerfile
Normal file
16
kaniko/Dockerfile
Normal 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
3
kaniko/README.md
Normal 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
1
kaniko/VERSION
Normal file
|
|
@ -0,0 +1 @@
|
|||
1.0.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue