Open RajithaKumara opened 5 years ago
I use below code snippets to remove unnessary packages, but those packages need while building image. This will reduce image size ~20MB in Debian based images. Is this okay?
1). Debian based images Reference: [1], [2] Findings:
https://github.com/RajithaKumara/orangehrm-os-prod-environment/blob/cd036ea17debcb478d2564d98b595842d696858d/apache/Dockerfile#L34-L46
2). Alpine based image Reference: [3] https://github.com/RajithaKumara/orangehrm-os-prod-environment/blob/cd036ea17debcb478d2564d98b595842d696858d/fpm-alpine/Dockerfile#L33-L40
I use below code snippets to remove unnessary packages, but those packages need while building image. This will reduce image size ~20MB in Debian based images. Is this okay?
1). Debian based images Reference: [1], [2] Findings:
https://github.com/RajithaKumara/orangehrm-os-prod-environment/blob/cd036ea17debcb478d2564d98b595842d696858d/apache/Dockerfile#L34-L46
2). Alpine based image Reference: [3] https://github.com/RajithaKumara/orangehrm-os-prod-environment/blob/cd036ea17debcb478d2564d98b595842d696858d/fpm-alpine/Dockerfile#L33-L40