neodash icon indicating copy to clipboard operation
neodash copied to clipboard

Please add linux/arm64 to the platforms for the Docker build to support Apple Silicon Macs

Open glow-mdsol opened this issue 1 year ago • 3 comments

Feature request template

I'm using docker on an M1 Mac for the OpenStudyBuilder project; the build fails or is downgraded as the dependencies in the Docker file use the @latest version designator and the arm64 not deployed by default to dockerhub. I can pin the dependency to 2.3.5 but that involves changing the source.

Ideally, if it would be possible to upgrade the version of the Github action setup-buildx-action to v2 or v3 and then add the linux/arm64 platform as well as the default, that would be great (per https://docs.docker.com/build/ci/github-actions/multi-platform/)

Thanks!

glow-mdsol avatar Jan 15 '24 10:01 glow-mdsol

This is also an issue for the latest Windows Snapdragon X devices as they run on ARM64 like the Mx platform.

KiZach avatar Jun 24 '24 12:06 KiZach

Local (Docker) build works like a charm on Apple Silicon: docker build -t neo4jlabs/neodash:latest .. However, I'd appreciate to find the image already on the Hub ...

ascheman avatar Jul 09 '24 16:07 ascheman

Hi @glow-mdsol, Maybe as a workaround for now, this can probably be resolved by adding a --platform argument to the docker run command. I'm on a M1 Mac as well, and this seems to work for me:

docker run -p 5005:5005 --platform linux/amd64 neo4jlabs/neodash:2.4.8

Agree that it would be nicer to have to have it DockerHub by default though!

nielsdejong avatar Nov 11 '24 10:11 nielsdejong