stackabletech / stackabletech/docker-images
Fix RELEASE and VERSION labels in product images
Nessuno ha ancora preso questa issue.
- Lingua principale
- Dockerfile
- Stelle
- 22
- Fork
- 6
- Merge medio
- 16h 59m
- PR unite (30g)
- 30
Descrizione
Our docker images currently have a hard coded label RELEASE=1 which was required for Openshift certification. Another label is VERSION which currently is set from the product version (e.g. 3.8.0 for a ZooKeeper 3.8.0).
For RELEASE we want to update to our actual naming of our releases. The next one would be 22.09. This should probably be parameterized in the build script instead of each product image.
The version label does not make sense currently. It will always be 3.8.0 (for a ZooKeeper 3.8.0) even if we adapt, add to or change that image.
The VERSION label should become the full tag we create from that image like zookeeper3.8.0-stackable0.1.0 to clearly identify the image.
This is done when:
- The
RELEASElabel is set "globally" via a CLI parameter in the build script - The
VERSIONlabel is set to the actually name of the created docker images likezookeeper3.8.0-stackable0.1.0
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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 individuando lo script di build che crea le immagini di prodotto Docker e le definizioni delle immagini contenenti le label RELEASE e VERSION. Traccia come vengono assemblati i tag delle immagini e gli argomenti di build, quindi verifica che un parametro CLI imposti RELEASE globalmente e che VERSION corrisponda al tag completo dell’immagine creata, ad esempio zookeeper3.8.0-stackable0.1.0.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker
- Ambito
- build-system
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100