mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update Dockerfile
This commit is contained in:
@@ -22,9 +22,10 @@ VOLUME [ "/data" ]
|
||||
# 2 Modify Image #
|
||||
##################
|
||||
|
||||
# shellcheck ignore=DL4006
|
||||
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}` \
|
||||
&& curl $GC_URL -o /root/go-chromecast.tgz \
|
||||
&& curl "$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 \
|
||||
|
||||
Reference in New Issue
Block a user