medic / cht-core

The CHT Core Framework makes it faster to build responsive, offline-first digital health apps that equip health workers to provide better care in their communities. It is a central resource of the Community Health Toolkit.
https://communityhealthtoolkit.org
GNU Affero General Public License v3.0
437 stars 204 forks source link

Investigate CHT docker image size #9141

Open dianabarsan opened 2 months ago

dianabarsan commented 2 months ago

Describe the issue Are our images too big, bloated with unnecessary dependencies?

Describe the improvement you'd like Check images sizes, and if we mistakenly package unnecessary bits and remove them.

garethbowen commented 2 months ago

I read a lot on the interwebs about docker images being unnecessarily large and there are a bunch of blog posts about how to optimise them, eg: https://medium.com/@reach2shristi.81/real-life-proven-strategies-to-reduce-docker-image-size-0415b756f886

We have done very little optimisation work here so I expect there's a load of low hanging fruit...