File tree Expand file tree Collapse file tree 6 files changed +25
-10
lines changed
root/etc/s6-overlay/s6-rc.d Expand file tree Collapse file tree 6 files changed +25
-10
lines changed Original file line number Diff line number Diff line change 22
33FROM ghcr.io/linuxserver/unrar:latest AS unrar
44
5- FROM ghcr.io/linuxserver/baseimage-alpine:3.20
5+ FROM ghcr.io/linuxserver/baseimage-alpine:3.21
66
77# set version label
88ARG BUILD_DATE
5353 pip install -U --no-cache-dir \
5454 pip \
5555 wheel && \
56- pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20 / \
56+ pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.21 / \
5757 -r /app/bazarr/bin/requirements.txt \
5858 -r /app/bazarr/bin/postgres-requirements.txt && \
5959 printf "Linuxserver.io version: ${VERSION}\n Build-date: ${BUILD_DATE}" > /build_version && \
Original file line number Diff line number Diff line change 22
33FROM ghcr.io/linuxserver/unrar:arm64v8-latest AS unrar
44
5- FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20
5+ FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.21
66
77# set version label
88ARG BUILD_DATE
5353 pip install -U --no-cache-dir \
5454 pip \
5555 wheel && \
56- pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20 / \
56+ pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.21 / \
5757 -r /app/bazarr/bin/requirements.txt \
5858 -r /app/bazarr/bin/postgres-requirements.txt && \
5959 printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ This image provides various versions that are available via tags. Please read th
7575
7676This 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
8084To help you get started creating a container from this image you can either use docker-compose or the docker cli.
@@ -133,6 +137,7 @@ Containers are configured using parameters passed at runtime (such as those abov
133137| ` -v /movies ` | Location of your movies |
134138| ` -v /tv ` | Location of your TV Shows |
135139| ` --read-only=true ` | Run container with a read-only filesystem. Please [ read the docs] ( https://docs.linuxserver.io/misc/read-only/ ) . |
140+ | ` --user=1000:1000 ` | Run container with a non-root user. Please [ read the docs] ( https://docs.linuxserver.io/misc/non-root/ ) . |
136141
137142## Environment variables from files (Docker secrets)
138143
@@ -296,6 +301,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
296301
297302# # Versions
298303
304+ * ** 24.12.24:** - Rebase to Alpine 3.21.
299305* ** 24.06.24:** - Rebase to Alpine 3.20.
300306* ** 23.12.23:** - Rebase to Alpine 3.19.
301307* ** 19.09.23:** - Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar).
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ opt_param_volumes:
2727 - {vol_path: "/movies", vol_host_path: "/path/to/movies", desc: "Location of your movies"}
2828 - {vol_path: "/tv", vol_host_path: "/path/to/tv", desc: "Location of your TV Shows"}
2929readonly_supported : true
30+ nonroot_supported : true
3031# application setup block
3132app_setup_block_enabled : true
3233app_setup_block : |
@@ -77,6 +78,7 @@ init_diagram: |
7778 "bazarr:latest" <- Base Images
7879# changelog
7980changelogs :
81+ - {date: "24.12.24:", desc: "Rebase to Alpine 3.21."}
8082 - {date: "24.06.24:", desc: "Rebase to Alpine 3.20."}
8183 - {date: "23.12.23:", desc: "Rebase to Alpine 3.19."}
8284 - {date: "19.09.23:", desc: "Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar)."}
Original file line number Diff line number Diff line change 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+ lsiown -R abc:abc \
6+ /config
7+ fi
Original file line number Diff line number Diff line change 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 6767" \
6- cd /app/bazarr/bin s6-setuidgid abc python3 /app/bazarr/bin/bazarr.py --no-update --config /config
4+ if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
5+ exec \
6+ s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 6767" \
7+ cd /app/bazarr/bin s6-setuidgid abc python3 /app/bazarr/bin/bazarr.py --no-update --config /config
8+ else
9+ exec \
10+ s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 6767" \
11+ cd /app/bazarr/bin python3 /app/bazarr/bin/bazarr.py --no-update --config /config
12+ fi
You can’t perform that action at this time.
0 commit comments