Our containers are about 1.7gb and are based on these images (built on raspberry pi 3):
- FROM resin/%%RESIN_MACHINE_NAME%%-python:3.5
- FROM resin/%%RESIN_MACHINE_NAME%%-golang
We switched to alpine images:
- FROM resin/%%RESIN_MACHINE_NAME%%-alpine-python:3.5
- FROM resin/%%RESIN_MACHINE_NAME%%-alpine-golang
And the size of our build grew to 2gb, so about 300mb increase.
The build process is different… we had to adjust for alpine vs. ubuntu, but it seems strange that we wouldn’t have seen any reduction in size, let alone an increase.
Any thoughts out there? I’d be curious to know what the size of the base images vs. the alpine images are, maybe adding it as a column to the table here: https://docs.resin.io/reference/base-images/resin-base-images/
-James