Skip to content

Commit b0f1bbc

Browse files
authored
Switch to Presto image hosted on GHCR (#3667)
The `prestosql` Docker Hub org has been deprecated and the current Presto image has been moved to GitHub Container Registry.
1 parent b62b0ef commit b0f1bbc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/presto/src/main/java/org/testcontainers/containers/PrestoContainer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
public class PrestoContainer<SELF extends PrestoContainer<SELF>> extends JdbcDatabaseContainer<SELF> {
1818
public static final String NAME = "presto";
19-
private static final DockerImageName DEFAULT_IMAGE_NAME = DockerImageName.parse("prestosql/presto");
20-
public static final String IMAGE = "prestosql/presto";
19+
private static final DockerImageName DEFAULT_IMAGE_NAME = DockerImageName.parse("ghcr.io/trinodb/presto");
20+
public static final String IMAGE = "ghcr.io/trinodb/presto";
2121
public static final String DEFAULT_TAG = "344";
2222

2323
public static final Integer PRESTO_PORT = 8080;

modules/presto/src/test/java/org/testcontainers/PrestoTestImages.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
import org.testcontainers.utility.DockerImageName;
44

55
public interface PrestoTestImages {
6-
DockerImageName PRESTO_TEST_IMAGE = DockerImageName.parse("prestosql/presto:344");
7-
DockerImageName PRESTO_PREVIOUS_VERSION_TEST_IMAGE = DockerImageName.parse("prestosql/presto:343");
6+
DockerImageName PRESTO_TEST_IMAGE = DockerImageName.parse("ghcr.io/trinodb/presto:344");
7+
DockerImageName PRESTO_PREVIOUS_VERSION_TEST_IMAGE = DockerImageName.parse("ghcr.io/trinodb/presto:343");
88
}

0 commit comments

Comments
 (0)