Skip to content

Commit 2211779

Browse files
committed
Rebase to 3.21
1 parent 45a2d37 commit 2211779

6 files changed

Lines changed: 26 additions & 10 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
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
@@ -34,7 +34,7 @@ RUN \
3434
pip install -U --no-cache-dir \
3535
pip \
3636
wheel && \
37-
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ \
37+
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.21/ \
3838
-r https://raw.githubusercontent.com/Tautulli/tautulli-baseimage/refs/heads/python3/requirements.txt && \
3939
echo "**** Hard Coding versioning ****" && \
4040
echo "${TAUTULLI_RELEASE}" > /app/tautulli/version.txt && \

Dockerfile.aarch64

Lines changed: 2 additions & 2 deletions
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
@@ -34,7 +34,7 @@ RUN \
3434
pip install -U --no-cache-dir \
3535
pip \
3636
wheel && \
37-
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ \
37+
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.21/ \
3838
-r https://raw.githubusercontent.com/Tautulli/tautulli-baseimage/refs/heads/python3/requirements.txt && \
3939
echo "**** Hard Coding versioning ****" && \
4040
echo "${TAUTULLI_RELEASE}" > /app/tautulli/version.txt && \

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ To use the built-in Plex LogViewer you have to add a volume, preferably Read-Onl
7575

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

78+
## Non-Root Operation
79+
80+
This image can be run with a non-root user. For details please [read the docs](https://docs.linuxserver.io/misc/non-root/).
81+
7882
## Usage
7983

8084
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
@@ -127,6 +131,7 @@ Containers are configured using parameters passed at runtime (such as those abov
127131
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
128132
| `-v /config` | Persistent config files |
129133
| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
134+
| `--user=1000:1000` | Run container with a non-root user. Please [read the docs](https://docs.linuxserver.io/misc/non-root/). |
130135

131136
## Environment variables from files (Docker secrets)
132137

@@ -290,6 +295,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
290295

291296
## Versions
292297

298+
* **03.01.25:** - Rebase to Alpine 3.21.
293299
* **19.11.24:** - Use upstream python packages.
294300
* **24.06.24:** - Rebase to Alpine 3.20.
295301
* **23.12.23:** - Rebase to Alpine 3.19.

readme-vars.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ param_usage_include_ports: true
2424
param_ports:
2525
- {external_port: "8181", internal_port: "8181", port_desc: "WebUI"}
2626
readonly_supported: true
27+
nonroot_supported: true
2728
# application setup block
2829
app_setup_block_enabled: true
2930
app_setup_block: |
@@ -74,6 +75,7 @@ init_diagram: |
7475
"tautulli:latest" <- Base Images
7576
# changelog
7677
changelogs:
78+
- {date: "03.01.25:", desc: "Rebase to Alpine 3.21."}
7779
- {date: "19.11.24:", desc: "Use upstream python packages."}
7880
- {date: "24.06.24:", desc: "Rebase to Alpine 3.20."}
7981
- {date: "23.12.23:", desc: "Rebase to Alpine 3.19."}
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/with-contenv bash
22
# shellcheck shell=bash
33

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

4-
exec \
5-
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8181" \
6-
s6-setuidgid abc python3 /app/tautulli/Tautulli.py --datadir /config
4+
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
5+
exec \
6+
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8181" \
7+
s6-setuidgid abc python3 /app/tautulli/Tautulli.py --datadir /config
8+
else
9+
exec \
10+
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8181" \
11+
python3 /app/tautulli/Tautulli.py --datadir /config
12+
fi

0 commit comments

Comments
 (0)