opendistro-for-elasticsearch / opendistro-build

🧰 Open Distro Build Scripts
https://opendistro.github.io/
Apache License 2.0
344 stars 175 forks source link

Docker build for ARM64 (newer MacBooks) #764

Open stonor opened 3 years ago

stonor commented 3 years ago

I would love to be able to run Open Distro for ElasticSearch in Docker on a modern MacBook Pro (with M1 chip).

However the Docker images are currently only build for X64. Any chance you could include builds for ARM64 as well?

andykellr commented 3 years ago

With the OpenSearch project in full gear, I don't see this being a priority, but I managed to build a docker image on m1 for an old build (1.10.1) and am running it in minikube. I pushed my commit to a fork here:

https://github.com/andykellr/opendistro-build/commit/d065c64814c38e52bb6864fab16710432df153f1

If you still need to do this and have questions, let me know.

The process is to clone the repo, cd elasticsearch/docker and make build