Skip to content

Commit fc03c21

Browse files
authored
Pin registry image used for testing (#2926)
As a workaround for distribution/distribution-library-image#107
1 parent 859f29d commit fc03c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/java/org/testcontainers/utility/AuthenticatedImagePullTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class AuthenticatedImagePullTest {
4545
@ClassRule
4646
public static GenericContainer<?> authenticatedRegistry = new GenericContainer<>(new ImageFromDockerfile()
4747
.withDockerfileFromBuilder(builder -> {
48-
builder.from("registry:2")
48+
builder.from("registry:2.7.0")
4949
.run("htpasswd -Bbn testuser notasecret > /htpasswd")
5050
.env("REGISTRY_AUTH", "htpasswd")
5151
.env("REGISTRY_AUTH_HTPASSWD_PATH", "/htpasswd")

0 commit comments

Comments
 (0)