From 4803bd917d96176dc645ba09c75d47a5dfbb89c8 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 14 Mar 2023 22:14:38 +0100 Subject: [PATCH] Update Dockerfile --- sponsorblockcast/Dockerfile | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/sponsorblockcast/Dockerfile b/sponsorblockcast/Dockerfile index ae0e7319f..c0375d6f2 100644 --- a/sponsorblockcast/Dockerfile +++ b/sponsorblockcast/Dockerfile @@ -15,29 +15,13 @@ ################# ARG BUILD_FROM -FROM $BUILD_FROM +FROM ghcr.io/nichobi/sponsorblockcast:latest VOLUME [ "/data" ] ################## # 2 Modify Image # ################## -# Add the BuildKit global arch args to get the correct go-chromecast release -# go-chromecast package linux architectures: linux_386, linux_amd64, linux_arm64, linux_armv6, linux_armv7 -ARG TARGETOS -ARG TARGETARCH -ARG TARGETVARIANT - -# shellcheck ignore=DL4006 -RUN apk --no-cache add jq bc grep curl \ - && GC_URL=$(wget https://api.github.com/repos/vishen/go-chromecast/releases/latest -O - | jq -r '.assets[].browser_download_url' | grep ${TARGETOS}_${TARGETARCH}${TARGETVARIANT}) \ - && wget $GC_URL -O /root/go-chromecast.tgz \ - && tar xzf /root/go-chromecast.tgz -C /usr/bin \ - && rm -rf /root/* \ - && chmod +x /usr/bin/go-chromecast \ - && wget https://raw.githubusercontent.com/nichobi/sponsorblockcast/main/sponsorblockcast.sh -O /usr/bin/sponsorblockcast \ - && chmod +x /usr/bin/sponsorblockcast - ################## # 3 Install apps # ##################