Open
Description
Module
Presto
Problem
-
Presto Module uses the outdated Docker Image of
ghcr.io/trinodb/presto
and needs to be updated toprestodb/presto
. -
Refer to https://github.com/testcontainers/testcontainers-java/blob/1.19.8/modules/presto/src/main/java/org/testcontainers/containers/PrestoContainer.java and https://github.com/orgs/trinodb/packages/container/package/presto .
ghcr.io/trinodb/presto
has not been updated in 3 years. -
I'm confused by the instructions at https://java.testcontainers.org/modules/databases/presto/ .
This module is deprecated, use Trino module.
- The problem is, development of
presto
has been active, see https://hub.docker.com/r/prestodb/presto and https://github.com/prestodb/presto .
Solution
- Use
prestodb/presto
instead ofghcr.io/trinodb/presto
inorg.testcontainers.containers.PrestoContainer
.
Benefit
- This would obviously clarify the current situation regarding Presto. Presto is still maintained normally, so the corresponding testcontainers module should not be marked as deprecated.
Alternatives
- Maybe not. I'm not sure why
ghcr.io/trinodb/presto
was used initially.
Would you like to help contributing this feature?
No