[PR #1301] [CLOSED] Dockerfile update #3509

Closed
opened 2026-04-25 00:15:56 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/1301
Author: @ceramicwhite
Created: 12/20/2022
Status: Closed

Base: masterHead: dockerfile-update


📝 Commits (4)

  • c56a3b8 update docker image
  • f59c88e move s6-overlay files to /build/docker/
  • 39a79ec /config/series/data still throwing EACCES
  • 30eaa32 cleanup + added modified init-adduser

📊 Changes

5 files changed (+119 additions, -19 deletions)

View changed files

📝 Dockerfile (+39 -19)
build/docker/root/etc/cont-init.d/10-adduser (+49 -0)
build/docker/root/etc/cont-init.d/20-config (+15 -0)
build/docker/root/etc/services.d/audiobookshelf/finish (+9 -0)
build/docker/root/etc/services.d/audiobookshelf/run (+7 -0)

📄 Description

  • Separate deps and build stage
  • Using linuxserver/docker-baseimage-alpine for base image of final stage
    • 30% reduced image size
    • using s6 for pid 1
    • No more running app as root
    • Ability to add Docker Mods such as Apprise or Cloudflared via envs:
       environment:
          DOCKER_MODS=linuxserver/mods:universal-apprise
          DOCKER_MODS: linuxserver/mods:universal-cloudflared
          CF_ZONE_ID: zone_id
          CF_ACCOUNT_ID: acct_id
          CF_API_TOKEN: token
          CF_TUNNEL_NAME: example
          CF_TUNNEL_PASSWORD: pleasedontusethisexamplepassword
          CF_TUNNEL_CONFIG: |
            ingress:
              - hostname: test.yourdomain.url
                service: http://localhost:80
              - service: http_status:404
    

🔄 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/1301 **Author:** [@ceramicwhite](https://github.com/ceramicwhite) **Created:** 12/20/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dockerfile-update` --- ### 📝 Commits (4) - [`c56a3b8`](https://github.com/advplyr/audiobookshelf/commit/c56a3b8fdf3dfbf5065a387953728655af81440c) update docker image - [`f59c88e`](https://github.com/advplyr/audiobookshelf/commit/f59c88e2799a3e5379ccc2604c6e70c8536dad35) move s6-overlay files to /build/docker/ - [`39a79ec`](https://github.com/advplyr/audiobookshelf/commit/39a79ec4b2c669fc959add76a9c9794a48ca283d) /config/series/data still throwing EACCES - [`30eaa32`](https://github.com/advplyr/audiobookshelf/commit/30eaa32e05ca8f011d596312386d7885852e3e64) cleanup + added modified init-adduser ### 📊 Changes **5 files changed** (+119 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+39 -19) ➕ `build/docker/root/etc/cont-init.d/10-adduser` (+49 -0) ➕ `build/docker/root/etc/cont-init.d/20-config` (+15 -0) ➕ `build/docker/root/etc/services.d/audiobookshelf/finish` (+9 -0) ➕ `build/docker/root/etc/services.d/audiobookshelf/run` (+7 -0) </details> ### 📄 Description - Separate deps and build stage - Using [linuxserver/docker-baseimage-alpine](https://github.com/linuxserver/docker-baseimage-alpine) for base image of final stage - 30% reduced image size - using s6 for pid 1 - No more running app as root - Ability to add Docker Mods such as Apprise or Cloudflared via `envs`: ``` environment: DOCKER_MODS=linuxserver/mods:universal-apprise DOCKER_MODS: linuxserver/mods:universal-cloudflared CF_ZONE_ID: zone_id CF_ACCOUNT_ID: acct_id CF_API_TOKEN: token CF_TUNNEL_NAME: example CF_TUNNEL_PASSWORD: pleasedontusethisexamplepassword CF_TUNNEL_CONFIG: | ingress: - hostname: test.yourdomain.url service: http://localhost:80 - service: http_status:404 ``` --- <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:15:56 +02:00
adam closed this issue 2026-04-25 00:15:56 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3509