-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore(goreleaser): static amd64 #78
base: main
Are you sure you want to change the base?
Conversation
The problem is that the static build requires alpine Linux, and you're using a Debian / Ubuntu variant. The A quick search for |
What's wrong with plain old |
I think that is for publishing package to apk, apt etc. Than the issue is with the docker image in which we are invoking the goreleser. |
Also was wondering why we don't have a static link for debian here's the reason |
Yes. This is old stuff, but since static wasmd / wasmvm were in the end never released for Debian / Ubuntu, I think it'll be a long stretch to try to have a static build based on them in these distros. Long story short: Better to stick to Alpine for static builds, for those involving these projects. Problem now is gorelease doesn't seem to support Alpine containers... |
Alpine in not a goreleaser thing, I think the problem we are facing here is goreleaser-cross image being debian based. If we use our Dockerfile which is: 1. Alpine based, 2. Cross-platform built 3. Has goreleaser installed inside. This should work. I still wonder how this works for Osmosis tho. |
Yes indeed.
Maybe it doesn't. Maybe they've just stick to dynamic builds? Or, they tried to add this, failed, and kept it anyway for reference / future work? |
Looking at their gorelease.yaml those are static links, but not sure if they actually use them in their action. I don't think osmosis would keep dead code/features 🤷 |
I guess this is proof it works for them |
run
make release-snapshot
, the amd64 build fails due some misconfiguration in static linking [help needed]. I am running this on M3 mac