Class DockerImage
java.lang.Object
org.hibernate.reactive.it.verticle.DockerImage
A utility class with methods to generate a
DockerImageName
for Testcontainers.
Testcontainers might not work if the image required is available in multiple different registries (for example when using podman instead of docker). These methods make sure to pick a registry as default.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.testcontainers.utility.DockerImageName
fromDockerfile
(String databaseName) Extract the image name and version from the first FROM instruction in the Dockerfile.static org.testcontainers.utility.DockerImageName
-
Constructor Details
-
DockerImage
public DockerImage()
-
-
Method Details
-
fromDockerfile
Extract the image name and version from the first FROM instruction in the Dockerfile. Note that everything else is ignored. -
imageName
-