wasmerio / wasmer-go

🐹🕸️ WebAssembly runtime for Go
https://pkg.go.dev/github.com/wasmerio/wasmer-go
MIT License
2.83k stars 161 forks source link

How can I compile all the libs with my main.go? #380

Open boli2017 opened 1 year ago

boli2017 commented 1 year ago

Summary

How can I compile all the libs with my main.go? I use an alpine container to run my program, but an error is reported that the so dependency is missing. Is there a way to compile the dependency with my program into a binary file

Additional details

boli2017 commented 1 year ago

Or is there any other way for my program to run in a lightweight basic mirror container like Alpine