Which Dockerfile is used for the official image?

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Describe the issue:
I wanted to check how the Docker image was built and searched for the Dockerfile used by Opensearch when building the official images
I found one here:

And other ones here:

And more here:

So which one is actually being used?

I’m pretty sure it’s the first one. The second link you provided is how the image is built.

If it helps, in DockerHub you can also see the layers of the image (effectively the Dockerfile commands). Here’s an example with latest: Docker

All the links are for how the image is being built : ) But good tip about looking at the layers. I didn’t know about that. That would help in determining which Dockerfile was used.

Hopefully someone from opensearch reads this and makes this more clear as well