Smaller image size?
styfle opened this issue · comments
Steven commented
There's a new project trending today called scratch-node.
When I compared images for version 10.13.0
, scratch-node is smaller than alpine-node.
mhart/alpine-node:base-10.13.0
17 MBastefanutti/scratch-node:10.13.0
14 MB
Is there some cruft that alpine-node (base images) could drop?
Michael Hart commented
I don't think so – those images have nothing else AFAICT – so you can't install any alpine packages on them or anything else – without writing your own custom dockerfile. Nice idea! But quite a bit more restrictive than these images
Michael Hart commented
Also, using upx
is going to definitely affect the startup time of the binary (although I'd be intrigued to see by how much)