Skip to content

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

Open

Description

@mk-raven

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

Activity

  1. mga-chka commented on Feb 4, 2025

    @mga-chka
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions