# OSI approved Docker image for ES 8+

**URL:** <https://discuss.elastic.co/t/osi-approved-docker-image-for-es-8/386055>\
**Category:** Elastic Search\
**Tags:** docker\
**Created:** [April 27, 2026, 7:24pm UTC](https://discuss.elastic.co/t/osi-approved-docker-image-for-es-8/386055 "2026-04-27T19:24:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stitchart](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@stitchart](https://discuss.elastic.co/u/stitchart)\
**Post date:** [April 27, 2026, 7:24pm UTC](https://discuss.elastic.co/t/osi-approved-docker-image-for-es-8/386055/1 "2026-04-27T19:24:39Z")

</div>

Hi, we're looking to build our own OSS Docker image since Elasticsearch v8+ onward, Elastic has discontinued the `elasticsearch-oss` Docker images that were previously available for those of us who needed to use an Apache 2.0/AGPL compatible version of Elasticsearch.  
We noticed that this depends on OSS binaries for Elasticsearch itself.

Could anyone point us in the right direction on:

1. **Building ES from source** — Are there official or community-maintained instructions for compiling an open-source build of Elasticsearch v8.x from the [elastic/elasticsearch](https://github.com/elastic/elasticsearch) GitHub repo?

2. **Existing OSS Docker image efforts** — Has anyone in the community already tackled this? Are there maintained Dockerfiles or repos that build an OSS-equivalent image for ES v8+?

We'd love to avoid reinventing the wheel here. Any pointers to docs, GitHub issues, community projects, or blog posts would be hugely appreciated!

Thanks in advance
