Skip to content

Commit d636c16

Browse files
authored
Merge pull request #133 from linuxserver/master-3.21
2 parents 817b09e + 53af062 commit d636c16

19 files changed

+32
-10
lines changed

.editorconfig

100755100644
File mode changed.

.github/CONTRIBUTING.md

100755100644
File mode changed.

.github/FUNDING.yml

100755100644
File mode changed.

.github/ISSUE_TEMPLATE/config.yml

100755100644
File mode changed.

.github/ISSUE_TEMPLATE/issue.bug.yml

100755100644
File mode changed.

.github/ISSUE_TEMPLATE/issue.feature.yml

100755100644
File mode changed.

.github/workflows/call_issue_pr_tracker.yml

100755100644
File mode changed.

.github/workflows/call_issues_cron.yml

100755100644
File mode changed.

.github/workflows/external_trigger.yml

100755100644
File mode changed.

.github/workflows/external_trigger_scheduler.yml

100755100644
File mode changed.

.github/workflows/greetings.yml

100755100644
File mode changed.

.github/workflows/package_trigger_scheduler.yml

100755100644
File mode changed.

Dockerfile

+2-2
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
@@ -75,7 +75,7 @@ RUN \
7575
pip install -U --no-cache-dir \
7676
pip \
7777
wheel && \
78-
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ \
78+
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.21/ \
7979
beautifulsoup4 \
8080
beets==${BEETS_VERSION} \
8181
beets-extrafiles \

Dockerfile.aarch64

+2-2
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
@@ -76,7 +76,7 @@ RUN \
7676
pip install -U --no-cache-dir \
7777
pip \
7878
wheel && \
79-
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ \
79+
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.21/ \
8080
beautifulsoup4 \
8181
beets==${BEETS_VERSION} \
8282
beets-extrafiles \

LICENSE

100755100644
File mode changed.

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@ See [Beets](http://beets.io/) for more info.
7878

7979
Contains [beets-extrafiles](https://github.com/Holzhaus/beets-extrafiles) plugin, [configuration details](https://github.com/Holzhaus/beets-extrafiles#usage)
8080

81+
## Read-Only Operation
82+
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+
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+
8189
## Usage
8290

8391
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
@@ -135,6 +143,8 @@ Containers are configured using parameters passed at runtime (such as those abov
135143
| `-v /config` | Persistent config files |
136144
| `-v /music` | Music library |
137145
| `-v /downloads` | Non processed music |
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/). |
138148

139149
## Environment variables from files (Docker secrets)
140150

@@ -298,6 +308,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
298308

299309
## Versions
300310

311+
* **27.01.25:** - Rebase to Alpine 3.21.
301312
* **01.10.24:** - Add packages required for Discogs plugin.
302313
* **28.08.24:** - Rebase to Alpine 3.20, switch from Pillow to Imagemagick.
303314
* **23.12.23:** - Rebase to Alpine 3.19.

readme-vars.yml

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ param_volumes:
2727
param_usage_include_ports: true
2828
param_ports:
2929
- {external_port: "8337", internal_port: "8337", port_desc: "Application WebUI"}
30+
readonly_supported: true
31+
nonroot_supported: true
3032
# application setup block
3133
app_setup_block_enabled: true
3234
app_setup_block: |
@@ -83,6 +85,7 @@ init_diagram: |
8385
"beets:latest" <- Base Images
8486
# changelog
8587
changelogs:
88+
- {date: "27.01.25:", desc: "Rebase to Alpine 3.21."}
8689
- {date: "01.10.24:", desc: "Add packages required for Discogs plugin."}
8790
- {date: "28.08.24:", desc: "Rebase to Alpine 3.20, switch from Pillow to Imagemagick."}
8891
- {date: "23.12.23:", desc: "Rebase to Alpine 3.19."}

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

+5-3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ cp -n /defaults/config.yaml /config/config.yaml
77

88
chmod +x /config/beets.sh
99

10-
# permissions
11-
lsiown -R abc:abc \
12-
/config
10+
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
11+
# permissions
12+
lsiown -R abc:abc \
13+
/config
14+
fi
+9-3
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 8337" \
6-
s6-setuidgid abc beet web
4+
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
5+
exec \
6+
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8337" \
7+
s6-setuidgid abc beet web
8+
else
9+
exec \
10+
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8337" \
11+
beet web
12+
fi

0 commit comments

Comments
 (0)