SAP / SAP/SapMachine-infrastructure

Missing docker image size optimization and tests

Open
#29 1 comment 0 reactions 1 assignee View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.