Rebase to 3.21

This commit is contained in:
thespad 2025-01-27 17:20:55 +00:00
parent 817b09e035
commit 53af062b23
No known key found for this signature in database
19 changed files with 32 additions and 10 deletions

0
.editorconfig Executable file → Normal file
View file

0
.github/CONTRIBUTING.md vendored Executable file → Normal file
View file

0
.github/FUNDING.yml vendored Executable file → Normal file
View file

0
.github/ISSUE_TEMPLATE/config.yml vendored Executable file → Normal file
View file

0
.github/ISSUE_TEMPLATE/issue.bug.yml vendored Executable file → Normal file
View file

0
.github/ISSUE_TEMPLATE/issue.feature.yml vendored Executable file → Normal file
View file

0
.github/workflows/call_issue_pr_tracker.yml vendored Executable file → Normal file
View file

0
.github/workflows/call_issues_cron.yml vendored Executable file → Normal file
View file

0
.github/workflows/external_trigger.yml vendored Executable file → Normal file
View file

0
.github/workflows/external_trigger_scheduler.yml vendored Executable file → Normal file
View file

0
.github/workflows/greetings.yml vendored Executable file → Normal file
View file

0
.github/workflows/package_trigger_scheduler.yml vendored Executable file → Normal file
View file

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-alpine:3.20
FROM ghcr.io/linuxserver/baseimage-alpine:3.21
# set version label
ARG BUILD_DATE
@ -75,7 +75,7 @@ RUN \
pip install -U --no-cache-dir \
pip \
wheel && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.21/ \
beautifulsoup4 \
beets==${BEETS_VERSION} \
beets-extrafiles \

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.21
# set version label
ARG BUILD_DATE
@ -76,7 +76,7 @@ RUN \
pip install -U --no-cache-dir \
pip \
wheel && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.21/ \
beautifulsoup4 \
beets==${BEETS_VERSION} \
beets-extrafiles \

0
LICENSE Executable file → Normal file
View file

View file

@ -78,6 +78,14 @@ See [Beets](http://beets.io/) for more info.
Contains [beets-extrafiles](https://github.com/Holzhaus/beets-extrafiles) plugin, [configuration details](https://github.com/Holzhaus/beets-extrafiles#usage)
## Read-Only Operation
This image can be run with a read-only container filesystem. For details please [read the docs](https://docs.linuxserver.io/misc/read-only/).
## Non-Root Operation
This image can be run with a non-root user. For details please [read the docs](https://docs.linuxserver.io/misc/non-root/).
## Usage
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
| `-v /config` | Persistent config files |
| `-v /music` | Music library |
| `-v /downloads` | Non processed music |
| `--read-only=true` | Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
| `--user=1000:1000` | Run container with a non-root user. Please [read the docs](https://docs.linuxserver.io/misc/non-root/). |
## Environment variables from files (Docker secrets)
@ -298,6 +308,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **27.01.25:** - Rebase to Alpine 3.21.
* **01.10.24:** - Add packages required for Discogs plugin.
* **28.08.24:** - Rebase to Alpine 3.20, switch from Pillow to Imagemagick.
* **23.12.23:** - Rebase to Alpine 3.19.

View file

@ -27,6 +27,8 @@ param_volumes:
param_usage_include_ports: true
param_ports:
- {external_port: "8337", internal_port: "8337", port_desc: "Application WebUI"}
readonly_supported: true
nonroot_supported: true
# application setup block
app_setup_block_enabled: true
app_setup_block: |
@ -83,6 +85,7 @@ init_diagram: |
"beets:latest" <- Base Images
# changelog
changelogs:
- {date: "27.01.25:", desc: "Rebase to Alpine 3.21."}
- {date: "01.10.24:", desc: "Add packages required for Discogs plugin."}
- {date: "28.08.24:", desc: "Rebase to Alpine 3.20, switch from Pillow to Imagemagick."}
- {date: "23.12.23:", desc: "Rebase to Alpine 3.19."}

View file

@ -7,6 +7,8 @@ cp -n /defaults/config.yaml /config/config.yaml
chmod +x /config/beets.sh
# permissions
lsiown -R abc:abc \
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
# permissions
lsiown -R abc:abc \
/config
fi

View file

@ -1,6 +1,12 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
exec \
if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8337" \
s6-setuidgid abc beet web
else
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8337" \
beet web
fi