From 60cd165012c2309fac960afea4c72e548c2123c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Fri, 8 Nov 2024 13:58:23 +0100 Subject: [PATCH] Dockerfile/frozen-images: Add amd64 and arm64 hello world MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add platform specific variants of the hello-world image Signed-off-by: Paweł Gronowski --- Dockerfile | 4 +++- testutil/environment/protect.go | 9 ++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b4357522ab..86c719b48c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -138,7 +138,9 @@ RUN /download-frozen-image-v2.sh /build \ busybox:glibc@sha256:1f81263701cddf6402afe9f33fca0266d9fff379e59b1748f33d3072da71ee85 \ debian:bookworm-slim@sha256:2bc5c236e9b262645a323e9088dfa3bb1ecb16cc75811daf40a23a824d665be9 \ hello-world:latest@sha256:d58e752213a51785838f9eed2b7a498ffa1cb3aa7f946dda11af39286c3db9a9 \ - arm32v7/hello-world:latest@sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1 + arm32v7/hello-world:latest@sha256:50b8560ad574c779908da71f7ce370c0a2471c098d44d1c8f6b513c5a55eeeb1 \ + hello-world:amd64@sha256:90659bf80b44ce6be8234e6ff90a1ac34acbeb826903b02cfa0da11c82cbc042 \ + hello-world:arm64@sha256:963612c5503f3f1674f315c67089dee577d8cc6afc18565e0b4183ae355fb343 # delve FROM base AS delve-src diff --git a/testutil/environment/protect.go b/testutil/environment/protect.go index 9f44382426..10ef79efac 100644 --- a/testutil/environment/protect.go +++ b/testutil/environment/protect.go @@ -15,7 +15,14 @@ import ( "gotest.tools/v3/assert" ) -var frozenImages = []string{"busybox:latest", "busybox:glibc", "hello-world:frozen", "debian:bookworm-slim"} +var frozenImages = []string{ + "busybox:latest", + "busybox:glibc", + "hello-world:frozen", + "debian:bookworm-slim", + "hello-world:amd64", + "hello-world:arm64", +} type protectedElements struct { containers map[string]struct{}