orientechnologies / orientdb-docker

OrientDB running in a docker container
MIT License
63 stars 63 forks source link

add docker file with multi-arch base #68

Closed nerdynikhil closed 1 year ago

nerdynikhil commented 1 year ago

Fixes https://github.com/orientechnologies/orientdb/issues/9926

tglman commented 1 year ago

Hi,

This looks good, anyway a minor thing we moved from adoptopenjdk to eclipse-temurin distribution because adoptopenjdk seems deprecated, not sure if this is valid also for apple-silicon.

Regards

nerdynikhil commented 1 year ago

You're right @tglman. I think the existing Dockerfile with eclipse-temurin already provides the support for Apple silicon. We just need to specify the architectures while we build.

docker buildx build -t docker.io/xx/myimage:v1 -f [path to Dockerfile] --push --platform=linux/arm64,linux/amd64 [path to build context]

So, I guess I'll close this PR.