Merge branch 'add-kaniko-image-with-git' into 'master'

Introduce a new kaniko image that includes Git

See merge request gitlab-org/gitlab-build-images!404
This commit is contained in:
Rémy Coutable 2021-05-10 15:01:23 +00:00
commit d661bc18ae
2 changed files with 7 additions and 0 deletions

View file

@ -109,6 +109,7 @@ gitlab-qa-ruby-3.0 test: *test_build
gitlab-qa-alpine-ruby-2.7 test: *test_build
gitlab-qa-alpine-ruby-3.0 test: *test_build
gitlab-puppeteer test: *test_build
kaniko test: *test_build
omnibus-gitlab-bionic test: *test_build
omnibus-gitlab-centos7 test: *test_build
omnibus-gitlab-centos8 test: *test_build
@ -171,6 +172,7 @@ gitlab-qa-ruby-3.0 push: *build_and_deploy
gitlab-qa-alpine-ruby-2.7 push: *build_and_deploy
gitlab-qa-alpine-ruby-3.0 push: *build_and_deploy
gitlab-puppeteer push: *build_and_deploy
kaniko push: *build_and_deploy
omnibus-gitlab-bionic push: *build_and_deploy
omnibus-gitlab-centos7 push: *build_and_deploy
omnibus-gitlab-centos8 push: *build_and_deploy

5
Dockerfile.kaniko Normal file
View file

@ -0,0 +1,5 @@
FROM gcr.io/kaniko-project/executor:debug-v1.3.0 AS kaniko
FROM alpine/git
COPY --from=kaniko /kaniko/executor /kaniko/
ENTRYPOINT ["/kaniko/executor"]