New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker images with weed not a dynamic executable #1856
Comments
Not clear what is unexpected here. |
The weed binary is expected to be compiled as static |
what needs changes? Seems all the flags are already in place.
|
I didn't find it right away. try adding to https://github.com/chrislusf/seaweedfs/blob/master/.github/workflows/release.yml#L37
|
@wangyoucao577 how to pass in additional env variables such as CGO_ENABLED? |
@kmlebedev this is only related to building a dev version, and not used in docker images. |
Then maybe here https://github.com/chrislusf/seaweedfs/blob/master/docker/Dockerfile.go_build#L8 I am a little confused as this is where the release is loaded with github.com |
Where did you find the binary is not static? |
on the hub.docker.com
|
@chrislusf to disable CGO in go-release-action, try add |
@wangyoucao577 |
@kmlebedev It supposed to not prevent. Let me check. |
@kmlebedev try out |
@kmlebedev
|
Good
Need to fix
The text was updated successfully, but these errors were encountered: