feat: add ARM64 support and multi-arch build for Raspberry Pi and other ARM devices #95
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.
Hi,
I'm aware this repo has been inactive for a while, but I've been using it regularly and recently tried to run it on my Raspberry Pi cluster — that’s when I found Issue #34.
This PR implements the changes needed to make that possible.
Summary of changes
The resulting image is available at:
👉 https://hub.docker.com/r/andrewkidd/nfs-server/tags (
v2.2.5)Evidence running on Raspberry Pi 5 (ARM64 / Ubuntu 24.04 / k3s)
manifests
$ docker manifest inspect andrewkidd/nfs-server:v2.2.5 { "schemaVersion": 2, "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json", "manifests": [ { "mediaType": "application/vnd.docker.distribution.manifest.v2+json", "size": 1091, "digest": "sha256:63e143eba7c00ced4d58990b23d5152f1ae05e7e8f7ccfbe5155fb0e9035bbb8", "platform": { "architecture": "amd64", "os": "linux" } }, { "mediaType": "application/vnd.docker.distribution.manifest.v2+json", "size": 1091, "digest": "sha256:30ced108af00e6dbba208390147b3c5dc5de9c49e1ffeddad0d6be8ccb8f1ec8", "platform": { "architecture": "arm64", "os": "linux" } } ] }