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

ARM64 support #324

Open
BojanZelic opened this issue Dec 22, 2023 · 6 comments
Open

ARM64 support #324

BojanZelic opened this issue Dec 22, 2023 · 6 comments

Comments

@BojanZelic
Copy link

Have some rasberry pi's I was planning on running this on but the image doesn't have arm64 support. Adding support should be as simple as using docker buildx

docker manifest inspect quay.io/samba.org/samba-operator:v0.4

{
        "schemaVersion": 2,
        "mediaType": "application/vnd.oci.image.manifest.v1+json",
        "config": {
                "mediaType": "application/vnd.oci.image.config.v1+json",
                "digest": "sha256:20295910427b9d52d2e6777585154a630bb7b276306983dc5c77a80d9bab2a11",
                "size": 7632
        },
        "layers": [
                {
                        "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
                        "digest": "sha256:a032f50e22ae11b241fcf38b4a787f0e51009578eedaf9d05894f5f38fd12af5",
                        "size": 37718602
                },
                {
                        "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
                        "digest": "sha256:c9467e3d8012e3d28ef1a251c8f2be9b564344bf155056d7ba2ab89dc8502e86",
                        "size": 23957809
                }
        ],
        "annotations": {
                "org.opencontainers.image.base.digest": "sha256:3e313209ac617a92b50350286752311d99ea2dafc429ef0e5311889294b0bc21",
                "org.opencontainers.image.base.name": "registry.access.redhat.com/ubi9/ubi-minimal:latest"
        }
}
@alecthomas
Copy link

Just wanted to add a vote for arm64 support.

@fhauptmann
Copy link

+1

@alecthomas
Copy link

alecthomas commented Jun 16, 2024

I've built an arm64 image, available here, though I'd recommend anyone needing one to just roll their own. I just made some minor tweaks to the Makefile then built and pushed it using the provided instructions, then updated the nodeSelectors in the config.

@alecthomas
Copy link

The next problem is that somehow none of the other samba images are arm64 either, so I'm slowly going through building them all as well...very tedious:

quay.io/samba.org/samba-server
quay.io/samba.org/samba-metrics
quay.io/samba.org/svcwatch

@synarete
Copy link
Collaborator

smbmtrics is written in golang, so it should be rather simple to build it for arm64

@phlogistonjohn
Copy link
Collaborator

FWIW the issue with the samba-server images is not that it can not be built for arm64, but that we can not automate it. I have built arm64 images before with podman on x86_64 machines successfully. If folks are interested enough in arm64 support I'd like to have participation over in samba-containers ... even if folks just volunteered for help testing the images, it would be nice.

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

No branches or pull requests

5 participants