mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 12:54:04 +02:00
Update Dockerfile
This commit is contained in:
@@ -24,12 +24,12 @@ VOLUME [ "/data" ]
|
|||||||
|
|
||||||
# shellcheck ignore=DL4006
|
# shellcheck ignore=DL4006
|
||||||
RUN apk --no-cache add jq bc grep curl \
|
RUN apk --no-cache add jq bc grep curl \
|
||||||
&& GC_URL=`curl https://api.github.com/repos/vishen/go-chromecast/releases/latest | jq -r '.assets[].browser_download_url' | grep ${TARGETOS}_${TARGETARCH}${TARGETVARIANT}` \
|
&& GC_URL=`wget https://api.github.com/repos/vishen/go-chromecast/releases/latest -O - | jq -r '.assets[].browser_download_url' | grep ${TARGETOS}_${TARGETARCH}${TARGETVARIANT}` \
|
||||||
&& curl $GC_URL -o /root/go-chromecast.tgz \
|
&& wget "$GC_URL" -O /root/go-chromecast.tgz \
|
||||||
&& tar xzf /root/go-chromecast.tgz -C /usr/bin \
|
&& tar xzf /root/go-chromecast.tgz -C /usr/bin \
|
||||||
&& rm -rf /root/* \
|
&& rm -rf /root/* \
|
||||||
&& chmod +x /usr/bin/go-chromecast \
|
&& chmod +x /usr/bin/go-chromecast \
|
||||||
&& curl https://raw.githubusercontent.com/nichobi/sponsorblockcast/main/sponsorblockcast.sh -o /usr/bin/sponsorblockcast \
|
&& wget https://raw.githubusercontent.com/nichobi/sponsorblockcast/main/sponsorblockcast.sh -O /usr/bin/sponsorblockcast
|
||||||
&& chmod +x /usr/bin/sponsorblockcast
|
&& chmod +x /usr/bin/sponsorblockcast
|
||||||
|
|
||||||
##################
|
##################
|
||||||
|
|||||||
Reference in New Issue
Block a user