From b3911be63fcb5585743a446d2f573519888c1bee Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Tue, 23 Dec 2025 15:20:21 -0800 Subject: [PATCH] Use image from MCR instead of busybox or hello-world --- tests/test.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/test.sh b/tests/test.sh index df14ea9..c306944 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -9,23 +9,23 @@ if [ -n "${TARGETARCH}" ]; then fi @test "test docker run hello world" { - run timeout --kill-after=60s 30s docker run ${TEST_PLATFORM} --rm hello-world - assert_output --partial "This message shows that your installation appears to be working correctly" + run timeout --kill-after=60s 30s docker run ${TEST_PLATFORM} --rm mcr.microsoft.com/azurelinux/base/core:3.0 echo hello from azl + assert_output --partial "hello from azl" # Make sure --init works which has an extra binary - run timeout --kill-after=60s 30s docker run --init --rm ${TEST_PLATFORM} docker.io/library/hello-world:latest - assert_output --partial "This message shows that your installation appears to be working correctly" + run timeout --kill-after=60s 30s docker run --init --rm ${TEST_PLATFORM} mcr.microsoft.com/azurelinux/base/core:3.0 echo hello from azl + assert_output --partial "hello from azl" } @test "test containerd run hello world" { - timeout --kill-after=60s 40s ctr image pull ${TEST_PLATFORM} docker.io/library/hello-world:latest - run timeout --kill-after=60s 40s ctr run ${TEST_PLATFORM} --rm docker.io/library/hello-world:latest test - assert_output --partial "This message shows that your installation appears to be working correctly" + timeout --kill-after=60s 40s ctr image pull ${TEST_PLATFORM} mcr.microsoft.com/azurelinux/base/core:3.0 + run timeout --kill-after=60s 40s ctr run ${TEST_PLATFORM} --rm mcr.microsoft.com/azurelinux/base/core:3.0 test echo hello from azl + assert_output --partial "hello from azl" } @test "test buildx build" { timeout --kill-after=60s 30s docker buildx build ${TEST_PLATFORM} - <<-EOF - FROM busybox + FROM mcr.microsoft.com/azurelinux/base/core:3.0 RUN echo hello world EOF }