diff --git a/Dockerfile b/Dockerfile index 144942a..644a1c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/linuxserver/baseimage-alpine:3.17 +FROM ghcr.io/linuxserver/baseimage-alpine:3.18 # set version label ARG BUILD_DATE @@ -14,15 +14,15 @@ WORKDIR /app RUN \ echo "**** install build packages ****" && \ apk add --no-cache \ - curl \ nodejs && \ apk add --no-cache --virtual=build-dependencies \ + build-base \ git \ npm && \ echo "**** install SyncLounge ****" && \ if [ -z ${SYNCLOUNGE_RELEASE+x} ]; then \ SYNCLOUNGE_RELEASE=$(curl -sX GET "https://registry.npmjs.org/synclounge/" \ - | jq -r '."dist-tags".latest'); \ + | jq -r '."dist-tags".latest'); \ fi && \ npm install -g --omit=dev synclounge@"$SYNCLOUNGE_RELEASE" && \ npm prune --omit=dev && \ @@ -30,7 +30,7 @@ RUN \ apk del --purge \ build-dependencies && \ rm -rf \ - /root/.cache \ + $HOME/.cache \ /tmp/* # copy local files diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index a5b32b0..021fe13 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -1,4 +1,4 @@ -FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.17 +FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.18 # set version label ARG BUILD_DATE @@ -14,18 +14,15 @@ WORKDIR /app RUN \ echo "**** install build packages ****" && \ apk add --no-cache \ - curl \ nodejs && \ apk add --no-cache --virtual=build-dependencies \ - g++ \ - git \ - make \ + build-base \ npm \ python3-dev && \ echo "**** install SyncLounge ****" && \ if [ -z ${SYNCLOUNGE_RELEASE+x} ]; then \ SYNCLOUNGE_RELEASE=$(curl -sX GET "https://registry.npmjs.org/synclounge/" \ - | jq -r '."dist-tags".latest'); \ + | jq -r '."dist-tags".latest'); \ fi && \ npm install -g --omit=dev synclounge@"$SYNCLOUNGE_RELEASE" --unsafe && \ npm prune --omit=dev && \ @@ -33,7 +30,7 @@ RUN \ apk del --purge \ build-dependencies && \ rm -rf \ - /root/.cache \ + $HOME/.cache \ /tmp/* # copy local files diff --git a/readme-vars.yml b/readme-vars.yml index f4744cc..c798161 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -38,6 +38,7 @@ app_setup_block: | Note: It is recommended to use `http` as the external proto with a reverse proxy due to `https` not working with external plex clients. # changelog changelogs: + - {date: "26.08.23:", desc: "Rebase to Alpine 3.18."} - {date: "04.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"} - {date: "29.11.22:", desc: "Rebase to alpine 3.17, upgrade to s6v3."} - {date: "19.09.22:", desc: "Rebase to alpine 3.15."} diff --git a/root/etc/s6-overlay/s6-rc.d/svc-synclounge/notification-fd b/root/etc/s6-overlay/s6-rc.d/svc-synclounge/notification-fd index e440e5c..00750ed 100644 --- a/root/etc/s6-overlay/s6-rc.d/svc-synclounge/notification-fd +++ b/root/etc/s6-overlay/s6-rc.d/svc-synclounge/notification-fd @@ -1 +1 @@ -3 \ No newline at end of file +3 diff --git a/root/etc/s6-overlay/s6-rc.d/svc-synclounge/type b/root/etc/s6-overlay/s6-rc.d/svc-synclounge/type index 1780f9f..5883cff 100644 --- a/root/etc/s6-overlay/s6-rc.d/svc-synclounge/type +++ b/root/etc/s6-overlay/s6-rc.d/svc-synclounge/type @@ -1 +1 @@ -longrun \ No newline at end of file +longrun