Missing docker image size optimization and tests

Aperta
#29 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SAP/SapMachine-infrastructure

Tutte le issue di SAP/SapMachine-infrastructure

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.