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

[Feature] Need to run image with non-root user #515

Open
mk-raven opened this issue Jan 24, 2025 · 1 comment
Open

[Feature] Need to run image with non-root user #515

mk-raven opened this issue Jan 24, 2025 · 1 comment

Comments

@mk-raven
Copy link

Is your feature request related to a problem? Please describe.
For security reason and run image in prod envs needs to run ALWAYS with non-root user

Describe the solution you'd like
Please add in Dockerfile user with permission only to run chproxy binary.
For example:
RUN groupadd -r chrpoxy && useradd -r -g chrpoxy -m chrpoxy && chown -R chrpoxy:chrpoxy /usr/bin/chproxy USER chrpoxy
Additional context
It would be nice in feature release

@mga-chka
Copy link
Collaborator

mga-chka commented Feb 4, 2025

Hi, the feature makes sense.
Feel free to create a PR with a change on the docker image. As long as the image still work for a root user or the optional non-root chproxy user, we shouldn't refuse the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants