mirror of
https://github.com/containers/podman.git
synced 2025-12-23 22:28:30 -05:00
Merge pull request #27760 from Luap99/test-apk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user