Building Without Docker Other OS's

Good Day OpenDistro Community,

I’d firstly like to thank someone for finally doing this!

I was attempting to build this on a Nix* that wasn’t Linux and discovered that there seems to be an implicit need for Docker… and am really only interested in trying to build this from source. I noticed that there was no “elasticsearch” or “kibana” fork in the OpenDistro Github org.

Am I missing something?

Are there plans to have a complete fork where we can make builds of OpenDistro without Docker? I’d be open to opening a PR etc.

Thank You,
Bruce Smith

1 Like

After looking a bit more, I noticed there was a Mac-OS Branch, and that you don’t need docker.

https://github.com/opendistro-for-elasticsearch/opendistro-build/tree/sreekarj_macos

I’ll explore this to add Illumos.

Welcome @Smithx10!

Yup - you are missing a few things. Let me clear it up:

  • ‘Open Distro for Elasticsearch’ is a distribution only. It takes Apache 2.0 licensed Elasticsearch & Kibana 7.10.2 and pairs it with Apache 2.0 plugins that round out the functionality giving you things like SQL, authentication, and alerting. In this case, the Open Distro team does develop the plugins, but uses the open source binaries of Elasticsearch and Kibana from Elastic.

  • There is an ongoing effort by this team to fork Elasticsearch and Kibana after the announcement that future versions would be licensed as non-open source software. This effort is still underway and hasn’t been released yet - see the ‘Stepping up: Elasticsearch & Kibana Fork’ category for updates.

  • Future versions of ‘Open Distro for Elasticsearch’ (under a new name) will use these forks, but not for a while. The initial releases of the forks won’t be production-grade software. In the interim, Open Distro will still use Elasticsearch & Kibana 7.10.2.

  • The build repo (attached to this forum category) is for building the artifacts for release. A lot of it is tied to the release process of Open Distro itself - you’re welcome to look around and contribute (it’s OSS!) - it’s just not a great starting point. Most folks use the binaries that are built by this repo (see the Downloads page).

Now looking at the context of your question (other OS’s / *nix / Illumos) there is another onion to peel :slight_smile:

Today Open Distro uses pre-built binaries (linux, windows, macos) - will that work for your OS?

Once the forks are out (shortly!), you can build Elasticsearch and Kibana from source and might have better luck porting to a different OS. Either way, the build scripts for these forks will be in the repos for each individual project.

Hope it helps!

@searchymcsearchface ,

Thank you very much for the clarification. This makes a lot more sense. I’ll focus on getting 7.10.2 to build on illumos and then attempt to compile the OD plugins etc.

Thanks Again,
Bruce Smith