File tree 8 files changed +28
-12
lines changed
root/etc/s6-overlay/s6-rc.d
8 files changed +28
-12
lines changed Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1
2
2
3
- FROM ghcr.io/linuxserver/baseimage-alpine:3.20
3
+ FROM ghcr.io/linuxserver/baseimage-alpine:3.21
4
4
5
5
# set version label
6
6
ARG BUILD_DATE
Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1
2
2
3
- FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20
3
+ FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.21
4
4
5
5
# set version label
6
6
ARG BUILD_DATE
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ pipeline {
32
32
CI_WEB = ' true'
33
33
CI_PORT = ' 8989'
34
34
CI_SSL = ' false'
35
- CI_DELAY = ' 120 '
35
+ CI_DELAY = ' 240 '
36
36
CI_DOCKERENV = ' '
37
37
CI_AUTH = ' '
38
38
CI_WEBPATH = ' /system/status'
Original file line number Diff line number Diff line change @@ -82,6 +82,10 @@ The folks over at servarr.com wrote a good [write-up](https://wiki.servarr.com/D
82
82
83
83
This image can be run with a read-only container filesystem. For details please [ read the docs] ( https://docs.linuxserver.io/misc/read-only/ ) .
84
84
85
+ ## Non-Root Operation
86
+
87
+ This image can be run with a non-root user. For details please [ read the docs] ( https://docs.linuxserver.io/misc/non-root/ ) .
88
+
85
89
## Usage
86
90
87
91
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
@@ -140,6 +144,7 @@ Containers are configured using parameters passed at runtime (such as those abov
140
144
| ` -v /tv ` | Location of TV library on disk (See note in Application setup) |
141
145
| ` -v /downloads ` | Location of download managers output directory (See note in Application setup) |
142
146
| ` --read-only=true ` | Run container with a read-only filesystem. Please [ read the docs] ( https://docs.linuxserver.io/misc/read-only/ ) . |
147
+ | ` --user=1000:1000 ` | Run container with a non-root user. Please [ read the docs] ( https://docs.linuxserver.io/misc/non-root/ ) . |
143
148
144
149
## Environment variables from files (Docker secrets)
145
150
@@ -303,6 +308,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
303
308
304
309
# # Versions
305
310
311
+ * ** 23.12.24:** - Rebase Alpine 3.21.
306
312
* ** 31.05.24:** - Rebase Alpine 3.20.
307
313
* ** 12.01.24:** - Update download url.
308
314
* ** 30.12.23:** - Rebase master branch to Alpine 3.19.
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ repo_vars:
21
21
- CI_WEB='true'
22
22
- CI_PORT='8989'
23
23
- CI_SSL='false'
24
- - CI_DELAY='120 '
24
+ - CI_DELAY='240 '
25
25
- CI_DOCKERENV=''
26
26
- CI_AUTH=''
27
27
- CI_WEBPATH='/system/status'
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ param_usage_include_ports: true
29
29
param_ports :
30
30
- {external_port: "8989", internal_port: "8989", port_desc: "The port for the Sonarr web interface"}
31
31
readonly_supported : true
32
+ nonroot_supported : true
32
33
# application setup block
33
34
app_setup_block_enabled : true
34
35
app_setup_block : |
@@ -86,6 +87,7 @@ init_diagram: |
86
87
"sonarr:latest" <- Base Images
87
88
# changelog
88
89
changelogs :
90
+ - {date: "23.12.24:", desc: "Rebase Alpine 3.21."}
89
91
- {date: "31.05.24:", desc: "Rebase Alpine 3.20."}
90
92
- {date: "12.01.24:", desc: "Update download url."}
91
93
- {date: "30.12.23:", desc: "Rebase master branch to Alpine 3.19."}
Original file line number Diff line number Diff line change 3
3
4
4
mkdir -p /run/sonarr-temp
5
5
6
- # permissions
7
- lsiown -R abc:abc \
8
- /config \
9
- /run/sonarr-temp
6
+ if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
7
+ lsiown -R abc:abc \
8
+ /config \
9
+ /run/sonarr-temp
10
+ fi
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/with-contenv bash
2
2
# shellcheck shell=bash
3
3
4
- exec \
5
- s6-notifyoncheck -d -n 300 -w 1000 \
6
- cd /app/sonarr/bin s6-setuidgid abc /app/sonarr/bin/Sonarr \
7
- -nobrowser -data=/config
4
+ if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
5
+ exec \
6
+ s6-notifyoncheck -d -n 300 -w 1000 \
7
+ cd /app/sonarr/bin s6-setuidgid abc /app/sonarr/bin/Sonarr \
8
+ -nobrowser -data=/config
9
+ else
10
+ exec \
11
+ s6-notifyoncheck -d -n 300 -w 1000 \
12
+ cd /app/sonarr/bin s6-setuidgid abc /app/sonarr/bin/Sonarr \
13
+ -nobrowser -data=/config
14
+ fi
You can’t perform that action at this time.
0 commit comments