Better Dockerfile#399
Conversation
|
Thanks for the change. I've looked at it and tested it with podman. Podman build command Test: imagesize Test: run |
|
Done - Let me know if anything else is needed. |
|
i am sorry what's this coveralls - macos errors ? am i suppose to change any thing ? |
No, you do not need to change anything because of this Coveralls result. |
auerswal
left a comment
There was a problem hiding this comment.
Thanks for this pull request!
I'd think that both using a smaller base image (i.e., Alpine), and using a multi-stage build process are useful changes.
(I do not use containers, so I am a bit reluctant to "approve" the pull request, but I am not opposed.)
|
i made a new commit covering both |
Changed Base image to alpine
Added Multi Staging
this causes image size to reduce from 541MB To 8.49MB since base image is much more minimal and extra packages are not copied from previous stage.
Added Labeling