Skip to content
Snippets Groups Projects
Verified Commit 6a551b8e authored by nd's avatar nd
Browse files

add utility image

parent a92812a1
Branches
Tags
No related merge requests found
Pipeline #8604 failed
...@@ -19,3 +19,14 @@ build-bullseye: ...@@ -19,3 +19,14 @@ build-bullseye:
script: script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.bullseye --destination $CI_REGISTRY_IMAGE/bullseye:$CI_COMMIT_TAG - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.bullseye --destination $CI_REGISTRY_IMAGE/bullseye:$CI_COMMIT_TAG
build-utility:
only:
- main
stage: build
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
script:
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile.utility --destination $CI_REGISTRY_IMAGE/utility:$CI_COMMIT_TAG
...@@ -2,7 +2,7 @@ FROM debian:bullseye AS debian-go-build ...@@ -2,7 +2,7 @@ FROM debian:bullseye AS debian-go-build
RUN apt-get -qq update && \ RUN apt-get -qq update && \
apt-get -qq dist-upgrade && \ apt-get -qq dist-upgrade && \
apt-get -qq install lsb-release curl wget ca-certificates locales-all git golang-go python3 python3-git python3-requests git debhelper && \ apt-get -qq install lsb-release curl wget ca-certificates locales-all git golang-go && \
apt-get -qq clean && \ apt-get -qq clean && \
lsb_release -a && uname -a && python3 --version && go version lsb_release -a && uname -a && go version
...@@ -2,7 +2,7 @@ FROM debian:bullseye AS debian-go-build ...@@ -2,7 +2,7 @@ FROM debian:bullseye AS debian-go-build
RUN apt-get -qq update && \ RUN apt-get -qq update && \
apt-get -qq dist-upgrade && \ apt-get -qq dist-upgrade && \
apt-get -qq install lsb-release curl wget ca-certificates locales-all git golang-go python3 python3-git python3-requests git debhelper && \ apt-get -qq install lsb-release curl wget ca-certificates locales-all git golang-go && \
apt-get -qq clean && \ apt-get -qq clean && \
lsb_release -a && uname -a && python3 --version && go version lsb_release -a && uname -a && go version
FROM debian:bullseye AS debian-go-build
RUN apt-get -qq update && \
apt-get -qq dist-upgrade && \
apt-get -qq install lsb-release curl wget ca-certificates locales-all python3 python3-git python3-requests git debhelper && \
apt-get -qq clean && \
lsb_release -a && uname -a && python3 --version && go version
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment