Skip to content

Releases for ARM64 #5566

@TiemenSch

Description

@TiemenSch

Experience Report

Hi, ARM64 support was already requested and confirmed as a conclusion of #3586, but official releases of Dgraph haven't been included. It would be awesome if the Docker images of Dgraph would be cross-compiled and included in the manifests so they work on ARM64 out of the box.

What you wanted to do

Run Dgraph on my Raspberry Pi 4 K3s cluster. I believe that the enthousiasts (like me) that want to try out Dgraph might just have an ARM server or cluster at home which requires ARM64 binaries or images.

What you actually did

Currently, I made a pipeline over at Gitlab that compiles to ARM64 and stores a Docker image. That image seems to work on my Raspberry Pi 4's as a demo cluster. See:

https://gitlab.com/Tiemen/dgraph-aarch64
registry.gitlab.com/tiemen/dgraph-aarch64:latest

Why that wasn't great, with examples

It's better to have a single "official" source of cross-compiled images in a single manifest. I'm for instance not sure what the compiled binary expects on the system, which is why I don't know if I can get away with a clean alpine image with the binary dropped in in the long run. (e.g. user rights, folder structure, etc.)

Any external references to support your case

My custom setup uses Docker buildx: https://docs.docker.com/buildx/working-with-buildx/
I would be happy to submit a PR that mimics this, but as this influences your release process (and I usually work with Gitlab pipelines) I'm not entirely sure how this should work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions