Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java upgrade (Fix #21) and entry point wrapper. #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Java upgrade (Fix #21) and entry point wrapper. #30

wants to merge 1 commit into from

Conversation

ggtools
Copy link

@ggtools ggtools commented Jan 24, 2015

The current dockerfile elastic search uses Java 1.7 and runs
elasticsearch as root while Docker best practices recommends to run the
service as a normal user.

  • Use a lightweight Java 8 container based on OpenJDK
  • Use ENTRYPOINT rather than CMD
  • Add a wrapper script to drop privilege and ease running the container
    with parameters.

The current dockerfile elastic search uses Java 1.7 and runs
elasticsearch as root while Docker best practices recommends to run the
service as a normal user.

- Use a lightweight Java 8 container based on OpenJDK
- Use ENTRYPOINT rather than CMD
- Add a wrapper script to drop privilege and ease running the container
  with parameters.
@Sabmit Sabmit mentioned this pull request Apr 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant