Merge pull request #84 from linuxserver/develop-3.17

This commit is contained in:
Roxedus 2022-12-21 19:09:08 +01:00 committed by GitHub
commit 5cbf8a7ed7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 44 additions and 23 deletions

View 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

View File

@ -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

View File

@ -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

View File

@ -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
View File

@ -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

View File

@ -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.

View File

@ -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" }

View File

@ -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." }

View File

@ -1,5 +1,6 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
# permissions
chown -R abc:abc \
lsiown -R abc:abc \
/config

View File

@ -0,0 +1 @@
oneshot

View File

@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-lidarr-config/run

View File

@ -0,0 +1 @@
3

View 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

View File

@ -0,0 +1 @@
longrun

View File

@ -1,5 +0,0 @@
#!/usr/bin/with-contenv bash
exec \
s6-setuidgid abc /app/lidarr/bin/Lidarr \
-nobrowser -data=/config