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`
Nessuno ha ancora preso questa issue.
- Lingua principale
- Java
- Stelle
- 8.7k
- Fork
- 1.9k
- Merge medio
- 2g 17h
- PR unite (30g)
- 9
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia da modules/presto/src/main/java/org/testcontainers/containers/PrestoContainer.java, il punto di ingresso identificato nell’issue, e confronta la sua configurazione dell’immagine con la documentazione attuale di Presto e i riferimenti alle immagini. Il lavoro è completato quando il modulo usa prestodb/presto e la documentazione non presenta più in modo fuorviante lo stato del modulo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker, java
- Ambito
- databases, testing
- Tipo di issue
- Funzionalità
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 68/100