Search in sources :

Example 1 with RemoteDockerImage

use of org.testcontainers.images.RemoteDockerImage in project testcontainers-java by testcontainers.

the class GenericContainer method setDockerImageName.

/**
 * {@inheritDoc}
 */
@Override
public void setDockerImageName(@NonNull String dockerImageName) {
    this.image = new RemoteDockerImage(dockerImageName);
    // Mimic old behavior where we resolve image once it's set
    getDockerImageName();
}
Also used : RemoteDockerImage(org.testcontainers.images.RemoteDockerImage)

Aggregations

RemoteDockerImage (org.testcontainers.images.RemoteDockerImage)1