SAP / SAP/SapMachine-infrastructure
Missing docker image size optimization and tests
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Dockerfile
- Stars
- 27
- Forks
- 26
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 2
Description
- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.