Skip to content

Commit 5e0f758

Browse files
committed
Rebase to 3.21
1 parent d1d6328 commit 5e0f758

File tree

8 files changed

+28
-12
lines changed

8 files changed

+28
-12
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine:3.20
3+
FROM ghcr.io/linuxserver/baseimage-alpine:3.21
44

55
# set version label
66
ARG BUILD_DATE

Dockerfile.aarch64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20
3+
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.21
44

55
# set version label
66
ARG BUILD_DATE

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pipeline {
3232
CI_WEB='true'
3333
CI_PORT='7878'
3434
CI_SSL='false'
35-
CI_DELAY='120'
35+
CI_DELAY='240'
3636
CI_DOCKERENV=''
3737
CI_AUTH=''
3838
CI_WEBPATH='/system/status'

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ The folks over at servarr.com wrote a good [write-up](https://wiki.servarr.com/d
8383

8484
This image can be run with a read-only container filesystem. For details please [read the docs](https://docs.linuxserver.io/misc/read-only/).
8585

86+
## Non-Root Operation
87+
88+
This image can be run with a non-root user. For details please [read the docs](https://docs.linuxserver.io/misc/non-root/).
89+
8690
## Usage
8791

8892
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
@@ -141,6 +145,7 @@ Containers are configured using parameters passed at runtime (such as those abov
141145
| `-v /movies` | Location of Movie library on disk (See note in Application setup) |
142146
| `-v /downloads` | Location of download managers output directory (See note in Application setup) |
143147
| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
148+
| `--user=1000:1000` | Run container with a non-root user. Please [read the docs](https://docs.linuxserver.io/misc/non-root/). |
144149

145150
## Environment variables from files (Docker secrets)
146151

@@ -304,6 +309,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
304309

305310
## Versions
306311

312+
* **20.12.24:** - Rebase to Alpine 3.21.
307313
* **25.05.24:** - Rebase to Alpine 3.20.
308314
* **20.03.24:** - Rebase to Alpine 3.19.
309315
* **06.06.23:** - Rebase develop to Alpine 3.18.

jenkins-vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repo_vars:
2020
- CI_WEB='true'
2121
- CI_PORT='7878'
2222
- CI_SSL='false'
23-
- CI_DELAY='120'
23+
- CI_DELAY='240'
2424
- CI_DOCKERENV=''
2525
- CI_AUTH=''
2626
- CI_WEBPATH='/system/status'

readme-vars.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ param_usage_include_ports: true
3030
param_ports:
3131
- {external_port: "7878", internal_port: "7878", port_desc: "The port for the Radarr web UI"}
3232
readonly_supported: true
33+
nonroot_supported: true
3334
# application setup block
3435
app_setup_block_enabled: true
3536
app_setup_block: |
@@ -87,6 +88,7 @@ init_diagram: |
8788
"radarr:develop" <- Base Images
8889
# changelog
8990
changelogs:
91+
- {date: "20.12.24:", desc: "Rebase to Alpine 3.21."}
9092
- {date: "25.05.24:", desc: "Rebase to Alpine 3.20."}
9193
- {date: "20.03.24:", desc: "Rebase to Alpine 3.19."}
9294
- {date: "06.06.23:", desc: "Rebase develop to Alpine 3.18."}

root/etc/s6-overlay/s6-rc.d/init-radarr-config/run

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
mkdir -p /run/radarr-temp
55

6-
# permissions
7-
lsiown -R abc:abc \
8-
/config \
9-
/run/radarr-temp
6+
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
7+
lsiown -R abc:abc \
8+
/config \
9+
/run/radarr-temp
10+
fi
Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
#!/usr/bin/with-contenv bash
22
# shellcheck shell=bash
33

4-
exec \
5-
s6-notifyoncheck -d -n 300 -w 1000 \
6-
cd /app/radarr/bin s6-setuidgid abc /app/radarr/bin/Radarr \
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/radarr/bin s6-setuidgid abc /app/radarr/bin/Radarr \
8+
-nobrowser -data=/config
9+
else
10+
exec \
11+
s6-notifyoncheck -d -n 300 -w 1000 \
12+
cd /app/radarr/bin /app/radarr/bin/Radarr \
13+
-nobrowser -data=/config
14+
fi

0 commit comments

Comments
 (0)