Limit docker image size
You can use https://github.com/wemake-services/docker-image-size-limit to fail your CI when your image will unexpectedly grow.
- Install it:
pip install docker-image-size-limit
- Run it:
disl your-image-name:latest 300MiB
- Profit!
Written by sobolevn
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Docker
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#