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

Enhancement: Create additional nonroot user to avoid running as UID 0 #1239

Open
jiglesia3 opened this issue Mar 8, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@jiglesia3
Copy link

Is your feature request related to a problem? Please describe.
While the root user was removed in this earlier commit, this is still in violation of a common security policy where the container is running as UID 0 since another user was not explicitly added. Setting another user within a Dockerfile is a common practice we've seen from open-source tools, or including a separate field in the helm chart to run as a separate UID.

Describe the solution you'd like
Set an additional USER oneuptime - similar to this gist - and modify files and permissions as necessary.

Describe alternatives you've considered
None found at this time other than ignoring security violations in our environment.

Additional context
#1176

@jiglesia3 jiglesia3 added the enhancement New feature or request label Mar 8, 2024
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