Open
Conversation
Add linux/riscv64 to the trixie Docker image platform list (hooks and build-images.sh). Bookworm and older builds are left unchanged. Add riscv64 AppImage build infrastructure based on the arm64v8 template, using Ubuntu 24.04 (Noble) as base since it is the first Ubuntu release with official riscv64 support. Uses distro-provided CGAL packages instead of OBS repositories. Update build-appimage.sh and docker-build-release.sh with riscv64 entries. Update README to document riscv64 support.
Author
Build verification noteI tested the trixie Dockerfile on both arm64 and riscv64: Both fail identically at the This is a pre-existing issue in the trixie Dockerfile affecting all architectures — not related to the riscv64 changes in this PR, which are purely additive (appending |
gounthar
added a commit
to gounthar/openscad-ci
that referenced
this pull request
Feb 6, 2026
Follows the same pattern as appimage-arm64v8-base.yml, building from docker-openscad.git/appimage/appimage-riscv64-base with IMAGE_PLATFORM set to linux/riscv64. Companion to openscad/docker-openscad#30 which adds the Dockerfile and build script entries.
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.
Summary
Add RISC-V 64-bit architecture support to the Docker build infrastructure for trixie-based builds and AppImage generation.
Changes
linux/riscv64to trixie buildx platform list inhooks/pre_buildandhooks/buildbuild-images.shbuild function (defaults to amd64+arm64, trixie passes amd64+arm64+riscv64)appimage-riscv64-baseDockerfile based onriscv64/ubuntu:24.04(Noble — first Ubuntu with official riscv64 support)appimage-riscv64-openscadDockerfile based on the arm64v8 templatebuild-appimage.shand menu option 5 todocker-build-release.shIssue Linking
No existing issue, this was discussed via email with @t-paul (Oct 2024, discuss@lists.openscad.org).
Testing
docker buildx build --platform linux/riscv64 -f openscad/trixie/Dockerfile --build-arg JOBS=2 .docker buildx build --platform linux/riscv64 -f appimage/appimage-riscv64-base/Dockerfile --check .Checklist
Notes
Notable differences from arm64v8 AppImage base
The riscv64 base uses Ubuntu 24.04 instead of 20.04, which means:
clang-12— Noble ships a newer clang by defaultBackground
I have been building and publishing multi-arch OpenSCAD Docker images at https://hub.docker.com/r/gounthar/openscad and riscv64 binaries and OS packages at https://github.com/gounthar/openscad/releases. This PR formalizes RISC-V support in the official build infrastructure.