Skip to content
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

Clean up multiarch build setup #1480

Open
WardBrian opened this issue Dec 16, 2024 · 0 comments
Open

Clean up multiarch build setup #1480

WardBrian opened this issue Dec 16, 2024 · 0 comments
Labels
cleanup Code simplification or clean-up continuous integration help wanted Extra attention is needed release/packaging

Comments

@WardBrian
Copy link
Member

I am wrestling with this in #1478 and it ended up being the blocker for #1407

The way we currently build the non-x86 linux binaries is a bit cumbersome and a lot brittle.

  • We're building them based on Debian images, which at this point are based on the very-out-of-date buster.
  • We're building them with --profile=static, which leads to a bunch of warnings about libc, because it's debian.
  • The way we select which one to run in build_multiarch_stanc3 is baroque and relies on a package called skopeo -- but I'm 99% sure we could just be passing --platform=linux/arm64 etc instead

I would be nice if we could re-write these such that they were all based on a minimal Alpine image (for static linking), and clean up a lot of the oddities they currently contain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code simplification or clean-up continuous integration help wanted Extra attention is needed release/packaging
Projects
None yet
Development

No branches or pull requests

1 participant