Reducing the size of the Docker image

Reducing the size of the Docker image

Google Compute Engine has a feature that lets you launch a VM running specific Docker image. I’ve been using that to build DebugBear, a website monitoring tool for developers.

[…]

First of all, how big is your Docker image? You can run docker images | head to find out:

[…]

Right now the two biggest contributors to my Docker image size are Chrome and Java. There’s no way for me to get around downloading Chrome, but I’m only using Java to be able to run one command, and I might just move that work out to a different web service.

[…]