opendistro-for-elasticsearch / opendistro-build

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

Add AmazonLinux2 Dockerfile #709

Closed camerski closed 3 years ago

camerski commented 3 years ago

Issue #, if available: https://github.com/opendistro-for-elasticsearch/opendistro-build/issues/696

Description of changes: Adds an AmazonLinux2-based Dockerfile. There are a couple of upcoming changes that will work with this one:

  1. A script to copy the ODFE tarball and config files into a working directory and invoke the Docker build
  2. A shiny new docker-entrypoint.sh that doesn't use supervisord to start the performance analyzer agent

This change will not be merged until all three pieces are in place.

Test Results: Manually started a container and verified that elasticsearch works.

Note: If this PR is related to Helm, please also update the README for related documentation changes. Thanks. https://github.com/opendistro-for-elasticsearch/opendistro-build/blob/master/helm/README.md

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on signing off your commits, please check here.

peterzhuamazon commented 3 years ago

A shiny new docker-entrypoint.sh that doesn't use supervisord to start the performance analyzer agent

Did you discuss this change with PA team 1st?

@camerski

camerski commented 3 years ago

A shiny new docker-entrypoint.sh that doesn't use supervisord to start the performance analyzer agent

Did you discuss this change with PA team 1st?

@camerski

It's not part of this PR, but I'll talk to them about it.