Missing docker image size optimization and tests
Aperta
@skateball ci sta già lavorando.
Dal 15/5/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
enhancement
- tools not needing to be shipped in the image like gnupg are not cleaned up
- changes to image are put in different layers of the multistage build
- several Dockerfiles where only one is needed
- no architecture platform support check
- no smoke test
You can find a properly optimized Dockerfile here: https://github.tools.sap/E-Mobility/mbt-docker/blob/main/Dockerfile with a section to install SAP machine with image size optimization.
And a PR showing how to reuse the same Dockerfile to generate images for different version: https://github.tools.sap/E-Mobility/mbt-docker/pull/8
- Lingua principale
- Dockerfile
- Stelle
- 27
- Fork
- 26
- Merge medio
- 22m
- PR unite (30g)
- 5
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi 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.
Altre issue di SAP/SapMachine-infrastructure
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 1/100
-
Ubuntu 26.04 LTSAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100