1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 15:23:08 +00:00

podman: give image build a bit longer to run

Seems it's timing out in current Rawhide, but actually working.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-11-24 16:08:17 -08:00
parent 4f30b59077
commit a706fe5249

View File

@ -19,7 +19,7 @@ sub run {
# create a Dockerfile
assert_script_run 'printf \'FROM registry.fedoraproject.org/fedora:latest\nRUN /usr/bin/dnf install -y httpd\nEXPOSE 80\nCMD ["-D", "FOREGROUND"]\nENTRYPOINT ["/usr/sbin/httpd"]\n\' > Dockerfile';
# Build an image
assert_script_run 'podman build -t fedora-httpd $(pwd)';
assert_script_run 'podman build -t fedora-httpd $(pwd)', 90;
# Verify the image
validate_script_output "podman images", sub { m/fedora-httpd/ };
# Run the container