Last Updated: March 04, 2019
·
865
· sobolevn

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.

  1. Install it: pip install docker-image-size-limit
  2. Run it: disl your-image-name:latest 300MiB
  3. Profit!