DEV Community

Discussion on: Need to place my docker-images in diet

Collapse
 
pcmagas profile image
Dimitrios Desyllas • Edited

I am using a CI/CD pipeline (travis) and I try to use a single step for making the images. I build a multi-version (both debian-based and alpine-based) docker images for moodle (github.com/ellakcy/docker-moodle ) and I try to use a single RUN step for them.

So I thought whether replacing the header files after built with normal packages I can shave off few Megabytes of the final image as a complementary measure on the existing one: Reducing the amount of steps.

Also I see the sizes by typing into the terminal:

docker images