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

Add best-practice features #22

Open
jamierajewski opened this issue Jan 22, 2021 · 0 comments
Open

Add best-practice features #22

jamierajewski opened this issue Jan 22, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@jamierajewski
Copy link
Contributor

This repo contains some simple best-practices for building Docker containers, primarily focused around security but also stability.

  • Since I have a custom entrypoint already, add --init option to all run commands in the docs which will use tini
  • Add nonroot user as specified
  • No need for bind-tools, and not using alpine linux

The nonroot user creation may require slightly modified commands since this container is CentOS-based while that one is Alpine-based.

@jamierajewski jamierajewski added the enhancement New feature or request label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant