From 97b57e7ed57400496bb8d77f716297ef74815d53 Mon Sep 17 00:00:00 2001 From: grunjol Date: Fri, 25 Oct 2024 13:13:27 -0300 Subject: [PATCH] Specify repository version --- snapserver/Dockerfile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/snapserver/Dockerfile b/snapserver/Dockerfile index 1f901e1..4462fcc 100644 --- a/snapserver/Dockerfile +++ b/snapserver/Dockerfile @@ -14,10 +14,16 @@ RUN echo 'https://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/reposi # Add packages RUN apk add --no-cache \ coreutils \ - wget \ - snapcast \ - snapweb \ - librespot=0.4.2-r4 + wget + +RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ librespot=0.4.2-r4 + +RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community/ snapcast-server=0.29.0-r0 + +RUN \ + wget https://github.com/badaix/snapweb/releases/download/v0.8.0/snapweb.zip && \ + unzip -o snapweb.zip -d /usr/share/snapserver/snapweb/ && \ + rm snapweb.zip # Cleanup RUN rm -rf /etc/ssl /var/cache/apk/* /lib/apk/db/*