mirror of
https://github.com/linuxserver/docker-lidarr.git
synced 2026-02-20 01:02:41 +08:00
Merge pull request #84 from linuxserver/develop-3.17
This commit is contained in:
commit
5cbf8a7ed7
12
.github/workflows/call_invalid_helper.yml
vendored
Normal file
12
.github/workflows/call_invalid_helper.yml
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
name: Comment on invalid interaction
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- labeled
|
||||
jobs:
|
||||
add-comment-on-invalid:
|
||||
if: github.event.label.name == 'invalid'
|
||||
permissions:
|
||||
issues: write
|
||||
uses: linuxserver/github-workflows/.github/workflows/invalid-interaction-helper.yml@v1
|
||||
secrets: inherit
|
||||
10
Dockerfile
10
Dockerfile
@ -1,4 +1,6 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.15
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.17
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
@ -14,8 +16,6 @@ ENV XDG_CONFIG_HOME="/config/xdg"
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apk add -U --upgrade --no-cache \
|
||||
curl \
|
||||
jq \
|
||||
chromaprint \
|
||||
icu-libs \
|
||||
sqlite-libs && \
|
||||
@ -35,12 +35,12 @@ RUN \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/app/lidarr/bin/Lidarr.Update \
|
||||
/tmp/* \
|
||||
/var/tmp/*
|
||||
/tmp/*
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 8686
|
||||
|
||||
VOLUME /config
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.15
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.17
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
@ -14,8 +16,6 @@ ENV XDG_CONFIG_HOME="/config/xdg"
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apk add -U --upgrade --no-cache \
|
||||
curl \
|
||||
jq \
|
||||
chromaprint \
|
||||
icu-libs \
|
||||
sqlite-libs && \
|
||||
@ -35,12 +35,12 @@ RUN \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/app/lidarr/bin/Lidarr.Update \
|
||||
/tmp/* \
|
||||
/var/tmp/*
|
||||
/tmp/*
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 8686
|
||||
|
||||
VOLUME /config
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.15
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.17
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
@ -14,8 +16,6 @@ ENV XDG_CONFIG_HOME="/config/xdg"
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
apk add -U --upgrade --no-cache \
|
||||
curl \
|
||||
jq \
|
||||
chromaprint \
|
||||
icu-libs \
|
||||
sqlite-libs && \
|
||||
@ -35,12 +35,12 @@ RUN \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/app/lidarr/bin/Lidarr.Update \
|
||||
/tmp/* \
|
||||
/var/tmp/*
|
||||
/tmp/*
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 8686
|
||||
|
||||
VOLUME /config
|
||||
|
||||
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -33,7 +33,7 @@ pipeline {
|
||||
CI_DELAY='120'
|
||||
CI_DOCKERENV='TZ=US/Pacific'
|
||||
CI_AUTH='user:password'
|
||||
CI_WEBPATH=''
|
||||
CI_WEBPATH='/system/status'
|
||||
}
|
||||
stages {
|
||||
// Setup all the basic environment variables needed for the build
|
||||
|
||||
@ -249,6 +249,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **06.05.22:** - Rebase develop branch to Alpine 3.17, migrate to s6v3.
|
||||
* **06.05.22:** - Rebase develop branch to Alpine.
|
||||
* **01.08.21:** - Add libchromaprint-tools.
|
||||
* **11.07.21:** - Make the paths clearer to the user.
|
||||
|
||||
@ -23,6 +23,6 @@ repo_vars:
|
||||
- CI_DELAY='120'
|
||||
- CI_DOCKERENV='TZ=US/Pacific'
|
||||
- CI_AUTH='user:password'
|
||||
- CI_WEBPATH=''
|
||||
- CI_WEBPATH='/system/status'
|
||||
sponsor_links:
|
||||
- { name: "Lidarr", url: "https://opencollective.com/lidarr" }
|
||||
|
||||
@ -59,6 +59,7 @@ app_setup_block: |
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "06.05.22:", desc: "Rebase develop branch to Alpine 3.17, migrate to s6v3." }
|
||||
- { date: "06.05.22:", desc: "Rebase develop branch to Alpine." }
|
||||
- { date: "01.08.21:", desc: "Add libchromaprint-tools." }
|
||||
- { date: "11.07.21:", desc: "Make the paths clearer to the user." }
|
||||
|
||||
3
root/etc/cont-init.d/30-config → root/etc/s6-overlay/s6-rc.d/init-lidarr-config/run
Normal file → Executable file
3
root/etc/cont-init.d/30-config → root/etc/s6-overlay/s6-rc.d/init-lidarr-config/run
Normal file → Executable file
@ -1,5 +1,6 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
# permissions
|
||||
chown -R abc:abc \
|
||||
lsiown -R abc:abc \
|
||||
/config
|
||||
1
root/etc/s6-overlay/s6-rc.d/init-lidarr-config/type
Normal file
1
root/etc/s6-overlay/s6-rc.d/init-lidarr-config/type
Normal file
@ -0,0 +1 @@
|
||||
oneshot
|
||||
1
root/etc/s6-overlay/s6-rc.d/init-lidarr-config/up
Normal file
1
root/etc/s6-overlay/s6-rc.d/init-lidarr-config/up
Normal file
@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-lidarr-config/run
|
||||
1
root/etc/s6-overlay/s6-rc.d/svc-lidarr/notification-fd
Normal file
1
root/etc/s6-overlay/s6-rc.d/svc-lidarr/notification-fd
Normal file
@ -0,0 +1 @@
|
||||
3
|
||||
7
root/etc/s6-overlay/s6-rc.d/svc-lidarr/run
Executable file
7
root/etc/s6-overlay/s6-rc.d/svc-lidarr/run
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
exec \
|
||||
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8686" \
|
||||
cd /app/lidarr/bin s6-setuidgid abc /app/lidarr/bin/Lidarr \
|
||||
-nobrowser -data=/config
|
||||
1
root/etc/s6-overlay/s6-rc.d/svc-lidarr/type
Normal file
1
root/etc/s6-overlay/s6-rc.d/svc-lidarr/type
Normal file
@ -0,0 +1 @@
|
||||
longrun
|
||||
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
exec \
|
||||
s6-setuidgid abc /app/lidarr/bin/Lidarr \
|
||||
-nobrowser -data=/config
|
||||
Loading…
x
Reference in New Issue
Block a user