Multi-platform Docker images #531
Replies: 3 comments 9 replies
-
Yes, that would be amazing! I need to figure out a way to build the arm64 image from the x86-64 Github Action platform that is not awfully slow. Maybe have the "build" part done using cross-compilation inside a x64-64 container and then move the built artifact to a aarch64 image?
If it is running on an emulator it's not surprising. I believe docker is using qemu and not something like rosetta2. If you want something running right now, there is a homebrew tap of Oxigraph: https://github.com/oxigraph/homebrew-oxigraph |
Beta Was this translation helpful? Give feedback.
-
I think |
Beta Was this translation helpful? Give feedback.
-
BTW I have enabled Rosetta for the whole Terminal. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Would it be possible to get Docker images for different platforms? I'm running on M1 Mac and this is what I get:
I manage to run it like this:
docker run --rm -v $PWD/data:/data -p 7878:7878 --platform linux/amd64 ghcr.io/oxigraph/oxigraph --location /data serve --bind 0.0.0.0:7878
But it seems super slow. I'm attempting to load less than 2K quads like this:
curl http://localhost:7878/store -H 'Content-Type: application/n-quads' -T ./test.nq
and it takes like 5 minutes. I guess it's not normal? :)
Beta Was this translation helpful? Give feedback.
All reactions