functions icon indicating copy to clipboard operation
functions copied to clipboard

fnctl: should we add a "vendor" or "deps" command to ensure the dependencies are built on alpine

Open treeder opened this issue 9 years ago • 2 comments

For instance, see the ruby vendoring: https://github.com/iron-io/dockerworker/tree/master/ruby

Or the node vendoring: https://github.com/iron-io/dockerworker/tree/master/node

If the dependencies have any native extensions, it won't work if built on the user's host system (unless they're running a system with musl).

treeder avatar Nov 15 '16 06:11 treeder

My take on this is that when the application gets complex enough, that's when our bootstrap tools go away from the scene and the advanced documentation kicks in. If you have a sufficiently complex application, you should be probably be using custom func.yaml and Dockerfile.

ucirello avatar Nov 15 '16 14:11 ucirello

With the advent of package lang and PreBuild() call, this is rather trivial now.

ucirello avatar Nov 28 '16 22:11 ucirello