Missing docker image size optimization and tests

Đang mở
#29 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@skateball đang làm issue này rồi.

Từ ngày 15/5/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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

Ngôn ngữ chính
Dockerfile
Star
27
Fork
26
Merge trung bình
22 phút
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của SAP/SapMachine-infrastructure

Tất cả issue của SAP/SapMachine-infrastructure

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.