From 04f19a516c515ff5ad1da3bf1d6f1329e26e66bd Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Larsen Date: Mon, 3 Jun 2024 17:11:15 +0200 Subject: [PATCH] Use static base image (#639) Signed-off-by: Mikkel Oscar Lyderik Larsen --- Dockerfile | 2 +- Dockerfile.e2e | 2 +- delivery.yaml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5fd838c1..3d980a9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG BASE_IMAGE=registry.opensource.zalan.do/library/alpine-3:latest +ARG BASE_IMAGE=registry.opensource.zalan.do/library/static:latest FROM ${BASE_IMAGE} LABEL maintainer="Team Teapot @ Zalando SE " diff --git a/Dockerfile.e2e b/Dockerfile.e2e index 16210f76..9a17263c 100644 --- a/Dockerfile.e2e +++ b/Dockerfile.e2e @@ -1,4 +1,4 @@ -ARG BASE_IMAGE=registry.opensource.zalan.do/library/alpine-3:latest +ARG BASE_IMAGE=registry.opensource.zalan.do/library/static:latest FROM ${BASE_IMAGE} LABEL maintainer="Team Teapot @ Zalando SE " diff --git a/delivery.yaml b/delivery.yaml index 4f8feb04..6a3511a1 100644 --- a/delivery.yaml +++ b/delivery.yaml @@ -35,8 +35,8 @@ pipeline: make build.linux.amd64 build.linux.arm64 build/linux/amd64/e2e build/linux/arm64/e2e docker buildx create --config /etc/cdp-buildkitd.toml --driver-opt network=host --bootstrap --use - docker buildx build --rm --build-arg BASE_IMAGE=container-registry.zalando.net/library/alpine-3:latest -t "${IMAGE}:${CDP_BUILD_VERSION}" --platform linux/amd64,linux/arm64 --push . - docker buildx build --rm --build-arg BASE_IMAGE=container-registry.zalando.net/library/alpine-3:latest -t "${IMAGE}-e2e:${CDP_BUILD_VERSION}" -f Dockerfile.e2e --platform linux/amd64,linux/arm64 --push . + docker buildx build --rm --build-arg BASE_IMAGE=container-registry.zalando.net/library/static:latest -t "${IMAGE}:${CDP_BUILD_VERSION}" --platform linux/amd64,linux/arm64 --push . + docker buildx build --rm --build-arg BASE_IMAGE=container-registry.zalando.net/library/static:latest -t "${IMAGE}-e2e:${CDP_BUILD_VERSION}" -f Dockerfile.e2e --platform linux/amd64,linux/arm64 --push . - id: e2e type: process @@ -118,7 +118,7 @@ pipeline: make build.linux.amd64 build.linux.arm64 docker buildx create --config /etc/cdp-buildkitd.toml --driver-opt network=host --bootstrap --use - docker buildx build --rm --build-arg BASE_IMAGE=container-registry.zalando.net/library/alpine-3:latest -t "${IMAGE}:${VERSION}" --platform linux/amd64,linux/arm64 --push . + docker buildx build --rm --build-arg BASE_IMAGE=container-registry.zalando.net/library/static:latest -t "${IMAGE}:${VERSION}" --platform linux/amd64,linux/arm64 --push . cdp-promote-image "${IMAGE}:${VERSION}" echo "create release page"