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

Use non-root user for Docker image whenever possible #84

Open
jauderho opened this issue Nov 16, 2021 · 2 comments
Open

Use non-root user for Docker image whenever possible #84

jauderho opened this issue Nov 16, 2021 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@jauderho
Copy link
Owner

Right now, not all of the images are built with a non-root user. More testing/validation will have to be done to determine which images can run as non-root.

Images that have to run as root should have capabilities limited to the needed subset.

@jauderho jauderho added the help wanted Extra attention is needed label Nov 16, 2021
@MaxPeal
Copy link

MaxPeal commented Apr 6, 2022

any update on this?
or can i help you with it?

@jauderho
Copy link
Owner Author

jauderho commented Apr 6, 2022

@MaxPeal Pull requests are very welcome as I have to test and make sure that builds are not broken as a result of specifying a non-root user.

In general, I'm looking at adding the following on an as-needed basis:

# EXPOSE
# ENV
# STOPSIGNAL
HEALTHCHECK NONE
# USER

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants