build_and_run_image($runtime, [$buildah], $dockerfile, $base);
Create a container using a dockerfile
and check if the container can be accessed via http queries. The container must be accessible on http://localhost:8888 and return the string "The test shall pass". base
can be used to setup base repo in the dockerfile in case that the file does not have a defined one. If not defined, the Dockerfile must contain a valid FROM statement.
The main container runtimes do not need buildah
variable in general, unless you want to build the image with buildah but run it with $<runtime>