mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-19 23:31:50 +02:00
Update
This commit is contained in:
@@ -25,13 +25,14 @@ FROM anthonyraymond/joal:$BUILD_UPSTREAM
|
|||||||
|
|
||||||
# Install Joal
|
# Install Joal
|
||||||
# hadolint ignore=DL4006
|
# hadolint ignore=DL4006
|
||||||
|
# hadolint ignore=SC2015
|
||||||
RUN \
|
RUN \
|
||||||
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi && \
|
if ! command -v curl >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends curl || apk add --no-cache curl); fi \
|
||||||
curl -s -S -J -L -o /tmp/joal.tar.gz $(curl -s https://api.github.com/repos/anthonyraymond/joal/releases/latest | grep -o "http.*joal.tar.gz") >/dev/null &&\
|
&& curl -s -S -J -L -o /tmp/joal.tar.gz $(curl -s https://api.github.com/repos/anthonyraymond/joal/releases/latest | grep -o "http.*joal.tar.gz") >/dev/null \
|
||||||
mkdir -p /data/joal &&\
|
&& mkdir -p /data/joal \
|
||||||
tar zxvf /tmp/joal.tar.gz -C /data/joal >/dev/null &&\
|
&& tar zxvf /tmp/joal.tar.gz -C /data/joal >/dev/null \
|
||||||
chown -R $(id -u):$(id -g) /data/joal &&\
|
&& chown -R $(id -u):$(id -g) /data/joal \
|
||||||
rm /data/joal/jack-of* || true
|
&& rm /data/joal/jack-of* || true
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# 3 Install apps #
|
# 3 Install apps #
|
||||||
|
|||||||
Reference in New Issue
Block a user