Skip to content

Added: riscv64 support#4144

Open
Opvolger wants to merge 3 commits into
itzg:masterfrom
Opvolger:feature/riscv64-support
Open

Added: riscv64 support#4144
Opvolger wants to merge 3 commits into
itzg:masterfrom
Opvolger:feature/riscv64-support

Conversation

@Opvolger

@Opvolger Opvolger commented Jul 1, 2026

Copy link
Copy Markdown
  • added java25-noble (has riscv64 support)
  • cloned knock and build it for amd64/arm64/arm32/riscv64

My hardware was not fast enough; it could not keep up with generating. (StarFive VisionFive 2 Lite)

But there are now newer CPUs like the SpaceMit K3, which should not have any problems with this.

Test the code with this command:

docker buildx build --platform linux/amd64,linux/arm64,linux/riscv64 --build-arg BASE_IMAGE=eclipse-temurin:25-jre-noble --build-arg VERSION=latest --tag opvolger/minecraft-server:latest --push .

@itzg itzg left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the final step of the saga.

baseImage: eclipse-temurin:25-jre-alpine
platforms: linux/amd64,linux/arm64
mcVersion: latest
- variant: java25-noble

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are your thoughts about the java25 variant itself being switched over to this 25-jre-noble? Then it would be one less variant built and published.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other Docker images do not have a build for RISCV64 yet.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood.

What I am pondering is that instead of both java25 and java25-noble, where "noble" has no obvious meaning to end users, just have java25 image variant which is based on 25-jre-noble.

If both are needed, I'd rather call this new one something like java25-riscv64 so it indicates the purpose to end users. Or java25-morearch or java25-expanded, java25-exp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants