Merge pull request #27760 from Luap99/test-apk

This commit is contained in:
Jan Rodák
2025-12-17 11:04:47 +01:00
committed by GitHub

View File

@@ -17,13 +17,11 @@ load helpers.registry
dockerfile=$tmpdir/Dockerfile
cat >$dockerfile <<EOF
FROM $IMAGE
RUN apk add nginx
RUN echo $rand_content > /$rand_filename
EOF
# The 'apk' command can take a long time to fetch files; bump timeout
imgname="b-$(safename)"
PODMAN_TIMEOUT=240 run_podman build -t $imgname --format=docker $tmpdir
run_podman build -t $imgname --format=docker $tmpdir
is "$output" ".*COMMIT" "COMMIT seen in log"
# $IMAGE is preloaded, so we should never re-pull