Skip to content

Support running Docker image rootless#541

Merged
phnzb merged 1 commit intonzbgetcom:developfrom
bishtawi:bishtawi/rootless
Apr 4, 2025
Merged

Support running Docker image rootless#541
phnzb merged 1 commit intonzbgetcom:developfrom
bishtawi:bishtawi/rootless

Conversation

@bishtawi
Copy link
Copy Markdown
Contributor

@bishtawi bishtawi commented Apr 4, 2025

Description

I like to run all my Docker images rootless as an extra security measure. I understand the existing Docker image drops the user from root to a normal user when it run the nzbget executable but this PR updates the entrypoint script to support running the Docker image from the get-go as a non-root user. In those cases, there is no need to run chmod or su.

Lib changes

No lib changes

Testing

Ran this locally and it works fine

@dnzbk dnzbk requested review from dnzbk and phnzb April 4, 2025 05:55
@phnzb
Copy link
Copy Markdown
Collaborator

phnzb commented Apr 4, 2025

@bishtawi
Thank you for contribution! Tested and merged to develop.

@phnzb phnzb merged commit 470eef7 into nzbgetcom:develop Apr 4, 2025
13 checks passed
@dnzbk dnzbk mentioned this pull request May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants