by incision · 12y ago · 0 comments
It would be pretty straightforward to adapt those Dockerfiles to create an image which includes only the dependencies for building node. It would end up looking a lot like 'node:slim' [3] (288MB).
Ideally, Docker will eventually have the functionality to more easily strip out transient requirements like build dependencies from the final images.
1: https://github.com/docker-library/node/blob/013858ac35afb9ca...
2: https://github.com/docker-library/buildpack-deps/blob/a201b1...
3: https://github.com/docker-library/node/blob/013858ac35afb9ca...
No comments yet.