From eed8cafdfa10e9ea762627e8b1a6252de912644b Mon Sep 17 00:00:00 2001 From: Alexander Yastrebov Date: Mon, 3 Jun 2024 19:45:24 +0200 Subject: [PATCH] deploy: use static base image Use static base image which is similar to gcr.io/distroless/static See previous #699 Signed-off-by: Alexander Yastrebov --- delivery.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/delivery.yaml b/delivery.yaml index b346d311..65885422 100644 --- a/delivery.yaml +++ b/delivery.yaml @@ -30,7 +30,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/amazonlinux-2023: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}:${CDP_BUILD_VERSION}" --platform linux/amd64,linux/arm64 --push . fi - id: buildprod @@ -68,7 +68,7 @@ pipeline: make build.linux.amd64 build.linux.arm64 IMAGE=container-registry-test.zalando.net/teapot/kube-ingress-aws-controller 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/amazonlinux-2023: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"