NOISSUE - use golang:1.26 builder to support riscv64 platform#204
Open
JeffMboya wants to merge 5 commits into
Open
NOISSUE - use golang:1.26 builder to support riscv64 platform#204JeffMboya wants to merge 5 commits into
JeffMboya wants to merge 5 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
Bug fix: multi-platform Docker build failing for
riscv64.What does this do?
golang:1.26-bookwormtogolang:1.26(bookworm has noriscv64manifest).debian:sid-slimas the final stage forriscv64(distroless/cc-debian12has noriscv64manifest).CGO_ENABLED=0for manager onriscv64—wasmtime-go/v44does not bundle a prebuiltlibwasmtime.aforriscv64.denied: installation not allowed to Write organization package.Which issue(s) does this PR fix/relate to?
No related issue.
Have you included tests for your changes?
No tests needed; these are build and CI configuration changes only.
Did you document any new/modified features?
No documentation needed.
Notes
golang:1.26defaults to bookworm for amd64/arm64, so runtime behaviour is unchanged there.The manager's wasm plugin feature relies on
wasmtime-go/v44, which embeds prebuiltlibwasmtime.aC libraries. Although wasmtime v44.0.0 itself ships ariscv64gc-linux-c-apirelease asset,wasmtime-go/v44does not bundle it — the Go binding'sbuild/directory only includes:References:
On riscv64, the manager builds with
CGO_ENABLED=0and any call toLoadWasmreturns:wasm plugin support requires CGO; rebuild with CGO_ENABLED=1All other manager functionality (task scheduling, proplet management, MQTT, HTTP API) is unaffected.