reduce docker image size ๐
blockspacer opened this issue ยท 0 comments
blockspacer commented
When creating a great application we generally do small mistakes in Dockerfile. Try to find out some of our mistakes and we will merge your pull request.
How to build our docker docker image
How to Not Be the Engineer Running 3.5GB Docker Images
Possible improvements:
- move to pydocker to write beautiful multi-line commands
- remove commented code
- remove unused apps, like
vim
,mc
, etc. - use smaller base image: minimal ubuntu. NOTE: On Dockerhub, the new Ubuntu 18.04 LTS image is now the new Minimal Ubuntu 18.04 image
- docker multistage builds