From cb80a498dd83fd3892498c2187c263461afce566 Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Larsen Date: Mon, 3 Jun 2024 09:09:13 +0200 Subject: [PATCH] Use static base image Signed-off-by: Mikkel Oscar Lyderik Larsen --- Dockerfile | 4 +--- delivery.yaml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 419c8c2..6f554e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,7 @@ -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 " -RUN apk add --no-cache tzdata - ARG TARGETARCH ADD build/linux/${TARGETARCH}/kube-metrics-adapter / diff --git a/delivery.yaml b/delivery.yaml index 6624e98..74408fe 100644 --- a/delivery.yaml +++ b/delivery.yaml @@ -42,5 +42,5 @@ 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}"