serverless-go-plugin icon indicating copy to clipboard operation
serverless-go-plugin copied to clipboard

Question: How does this work for cross compile support in libraries that link to C

Open cturner-confluent opened this issue 2 years ago • 0 comments

Hello,

I was wondering how this works in regards to cross compile support for libraries that link directly to C code? I know in the serverless-python-requirments plugin they allow for doing pip install command inside of a docker image so that you get the native linux package thats compatible with lambda. This seems to be the standard approach for Golang to do the build inside docker when we need to link against C code but are building on different OS arch than we are targeting. Is this a feature we could get added to this plugin seems like it might be good addition.

cturner-confluent avatar May 12 '22 14:05 cturner-confluent