[PR #4717] Move to a non-root model. #4325

Open
opened 2026-04-25 00:19:17 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/4717
Author: @Vylyne
Created: 10/2/2025
Status: 🔄 Open

Base: masterHead: pr/non-root-user


📝 Commits (1)

  • 5135ffe Moved to a non-root model.

📊 Changes

1 file changed (+19 additions, -5 deletions)

View changed files

📝 Dockerfile (+19 -5)

📄 Description

Brief summary

Moved to non-root user model.

Which issue is fixed?

Related to questions in #4471
Superseeds #4700

In-depth Description

  • Added buildargs to specify the User ID and Group IDs.
  • entrypoint now defaults to running as 1000:1000 rather then 0:0.
    I noticed myself I had some issues initially running with the user directive.

How have you tested this?

I'm running on a build with this change incorporated and VOLUME Instruction added to docker file.
ghcr.io/vylyne/audiobookshelf:latest

Screenshots


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/4717 **Author:** [@Vylyne](https://github.com/Vylyne) **Created:** 10/2/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `pr/non-root-user` --- ### 📝 Commits (1) - [`5135ffe`](https://github.com/advplyr/audiobookshelf/commit/5135ffe4c6163fe64bda07f96206f6360fddd299) Moved to a non-root model. ### 📊 Changes **1 file changed** (+19 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+19 -5) </details> ### 📄 Description <!-- For Work In Progress Pull Requests, please use the Draft PR feature, see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details. If you do not follow this template, the PR may be closed without review. Please ensure all checks pass. If you are a new contributor, the workflows will need to be manually approved before they run. --> ## Brief summary Moved to non-root user model. ## Which issue is fixed? Related to questions in #4471 Superseeds #4700 ## In-depth Description - Added buildargs to specify the User ID and Group IDs. - entrypoint now defaults to running as 1000:1000 rather then 0:0. I noticed myself I had some issues initially running with the user directive. ## How have you tested this? I'm running on a build with this change incorporated and VOLUME Instruction added to docker file. ghcr.io/vylyne/audiobookshelf:latest ## Screenshots <!-- If your PR includes any changes to the web client, please include screenshots or a short video from before and after your changes. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:19:17 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4325