mirror of
https://github.com/linuxserver/docker-beets
synced 2026-01-20 15:13:14 +01:00
parent
c88cfe4648
commit
e757e5b479
5 changed files with 18 additions and 10 deletions
|
|
@ -88,7 +88,8 @@ RUN \
|
|||
requests \
|
||||
requests_oauthlib \
|
||||
typing-extensions \
|
||||
unidecode && \
|
||||
unidecode \
|
||||
shyaml && \
|
||||
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
|
||||
echo "**** cleanup ****" && \
|
||||
apk del --purge \
|
||||
|
|
|
|||
|
|
@ -89,7 +89,8 @@ RUN \
|
|||
requests \
|
||||
requests_oauthlib \
|
||||
typing-extensions \
|
||||
unidecode && \
|
||||
unidecode \
|
||||
shyaml && \
|
||||
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
|
||||
echo "**** cleanup ****" && \
|
||||
apk del --purge \
|
||||
|
|
|
|||
|
|
@ -256,6 +256,7 @@ serd-libs 0.32.2-r0 apk
|
|||
shaderc 2024.0-r2 apk
|
||||
shadow 4.16.0-r1 apk
|
||||
shared-mime-info 2.4-r2 apk
|
||||
shyaml 0.6.2 python
|
||||
six 1.17.0 python
|
||||
skalibs-libs 2.14.3.0-r0 apk
|
||||
sord-libs 0.16.16-r0 apk
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@ init_diagram: |
|
|||
"beets:latest" <- Base Images
|
||||
# changelog
|
||||
changelogs:
|
||||
- {date: "30.12.25:", desc: "Check if plugin web is enabled before running"}
|
||||
- {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."}
|
||||
|
|
|
|||
|
|
@ -1,12 +1,16 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
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
|
||||
plugins=$(beet config --default | shyaml get-value plugins)
|
||||
|
||||
if [[ " $plugins " == *" web "* ]]; then
|
||||
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
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue