mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-25 14:41:27 +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:
parent
4f30b59077
commit
a706fe5249
@ -19,7 +19,7 @@ sub run {
|
|||||||
# create a Dockerfile
|
# 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';
|
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
|
# 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
|
# Verify the image
|
||||||
validate_script_output "podman images", sub { m/fedora-httpd/ };
|
validate_script_output "podman images", sub { m/fedora-httpd/ };
|
||||||
# Run the container
|
# Run the container
|
||||||
|
Loading…
Reference in New Issue
Block a user