Open colthreepv opened 8 years ago
Progress has been made in this direction, an even better approach would be leveraging multi-stage production builds as explained in this article
It should be possible to build an image with all the build tools, then create an alpine image, and just copy the built dependencies into it.
At the moment it's too much effort for me, but it's still something I would like to see done
There's a huge gap between this image and original one (330mb vs 60mb), so the main Dockerfile could be the "minimized" one, leaving the debug version in the repository for manual builds