From 0f7850e2b007188d583f9bacccd8ea567733e770 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sat, 19 Oct 2024 16:43:20 +0200 Subject: [PATCH] chore: use actual scratch container as empty (scratch) container --- archive/charts/system/cloudnative-pg/values.yaml | 4 ++-- charts/system/prometheus-operator/values.yaml | 4 ++-- containers/base/scratch/Dockerfile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/archive/charts/system/cloudnative-pg/values.yaml b/archive/charts/system/cloudnative-pg/values.yaml index d3fe43dbf6d..4813a855544 100644 --- a/archive/charts/system/cloudnative-pg/values.yaml +++ b/archive/charts/system/cloudnative-pg/values.yaml @@ -1,7 +1,7 @@ image: - repository: tccr.io/tccr/alpine + repository: tccr.io/tccr/scratch pullPolicy: IfNotPresent - tag: latest@sha256:783d7b4da265da6ee627fe54ee895a2cfe2a2ecd7bb7b53a0c7a703a924a8e82 + tag: latest service: main: diff --git a/charts/system/prometheus-operator/values.yaml b/charts/system/prometheus-operator/values.yaml index 351dfe92ceb..5738018d90b 100644 --- a/charts/system/prometheus-operator/values.yaml +++ b/charts/system/prometheus-operator/values.yaml @@ -1,7 +1,7 @@ image: - repository: tccr.io/tccr/alpine + repository: tccr.io/tccr/scratch pullPolicy: IfNotPresent - tag: latest@sha256:b2b2350a8a843b7f8a0afef968e525900b5c2ae410a8ef0c6461005a06b64ffe + tag: latest service: main: diff --git a/containers/base/scratch/Dockerfile b/containers/base/scratch/Dockerfile index 802d00d9ded..b4b40e38f29 100644 --- a/containers/base/scratch/Dockerfile +++ b/containers/base/scratch/Dockerfile @@ -1,4 +1,4 @@ -FROM hello-world:latest@sha256:d211f485f2dd1dee407a80973c8f129f00d54604d2c90732e8e320e5038a0348 +FROM scratch LABEL org.opencontainers.image.licenses="BSD-3-Clause" LABEL org.opencontainers.image.title="${CONTAINER_NAME}"