testcontainers / testcontainers/testcontainers-java
[Feature]: Presto Module uses the outdated Docker Image of `ghcr.io/trinodb/presto` and needs to be updated to `prestodb/presto`
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Java
- Estrellas
- 8.7k
- Forks
- 1.9k
- Merge medio
- 2 d 17 h
- PR fusionados (30 d)
- 9
Descripción
Module
Presto
Problem
-
Presto Module uses the outdated Docker Image of
ghcr.io/trinodb/prestoand 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/prestohas 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
prestohas been active, see https://hub.docker.com/r/prestodb/presto and https://github.com/prestodb/presto .
Solution
- Use
prestodb/prestoinstead ofghcr.io/trinodb/prestoinorg.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/prestowas used initially.
Would you like to help contributing this feature?
No
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con modules/presto/src/main/java/org/testcontainers/containers/PrestoContainer.java, el punto de entrada identificado en el issue, y compara su configuración de imagen con la documentación actual de Presto y las referencias de imagen. Se considera completado cuando el módulo usa prestodb/presto y la documentación deja de presentar de forma engañosa el estado del módulo.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- docker, java
- Área
- databases, testing
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 68/100