You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sorry that I'm not able to better define the reasoning, etc. on this, however the pre-compiled binary won't work on Alpine linux, and just compiling as indicated in the instructions doesn't work:
git clone https://github.com/miconda/sipexer
cd sipexer
go get ./...
go build .
Setting the env var CGO_ENABLED to 0 when building creates a binary that works (for me) in both the default alpine container as well
as my normal Debian distro:
CGO_ENABLED=0 go build .
Given that this works for me on both, I'm not sure if it's better to have the distributed binary and the instructions always reference this, OR to simply add a note in the installation section? Or maybe this is so obvious to someone working in Go that it's unnecessary?
The text was updated successfully, but these errors were encountered:
Thanks for reporting it! I was not aware of CGO_ENABLED=0 being required and haven't used myself so far (Debian and MacOS). I will add a note in the docs for those that hit the same situation.
I'm sorry that I'm not able to better define the reasoning, etc. on this, however the pre-compiled binary won't work on Alpine linux, and just compiling as indicated in the instructions doesn't work:
Setting the env var CGO_ENABLED to 0 when building creates a binary that works (for me) in both the default alpine container as well
as my normal Debian distro:
Given that this works for me on both, I'm not sure if it's better to have the distributed binary and the instructions always reference this, OR to simply add a note in the installation section? Or maybe this is so obvious to someone working in Go that it's unnecessary?
The text was updated successfully, but these errors were encountered: