rustdesk / rustdesk/rustdesk-server
Docker defaults to running as a non root user
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 10.4k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
The default image runs as the root user. It is recommended to run app as a non-root user by default.
rustdesk/rustdesk-server
rustdesk/rustdesk-server-s6
Dockerfile:
FROM rustdesk/rustdesk-server-s6:1.1.14
WORKDIR /data
RUN adduser -g rustdesk -s /bin/sh -D -u 2000 rustdesk
USER rustdesk
After rebuilding, it runs well, but there are unnecessary steps
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the Dockerfiles used to build rustdesk/rustdesk-server and rustdesk/rustdesk-server-s6, then compare them with the Dockerfile example in the issue. Confirm the default containers run as a non-root user without the extra setup steps, and rebuild or smoke-test both images to verify they still run correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100