Tips to reduce size of docker images

Sounds great, do you have an estimate as to what the size difference would be otherwise? To give it some context?

@a4xrbj1 In my case, Meteor is roughly 2GB after installing packages. Node’s binary is 80MB.

Using buildx and copying files in stages I managed to get good layer caching. First build takes around 8 minutes on GitHub Actions, and “building” from cache takes <10s.

Same size approximately. 200MB in the registry.

Could you perhaps share the applicable parts of your github actions script, I would love to reduce our build times and seems I can learn a lot from what you’ve accomplished.