This commit is contained in:
Alexandre
2021-01-25 23:07:40 +01:00
committed by GitHub
parent af87d6d436
commit 41c0e14389

View File

@@ -1,5 +1,4 @@
ARG BUILD_FROM
ARG BUILD_VERSION
FROM $BUILD_FROM
VOLUME [ "/data" ]
@@ -7,6 +6,8 @@ VOLUME [ "/data" ]
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG BUILD_VERSION
RUN \
#Install bashio
apt-get update \
@@ -25,7 +26,7 @@ RUN \
\
#Install Joal
# && curl -s -L -o /tmp/joal.tar.gz "https://github.com/anthonyraymond/joal/releases/download/2.1.24/joal.tar.gz" \
&& wget -O /tmp/joal.tar.gz https://github.com/anthonyraymond/joal/releases/download/${BUILD_VERSION}/joal.tar.gz \
&& wget -O /tmp/joal.tar.gz "https://github.com/anthonyraymond/joal/releases/download/$BUILD_VERSION/joal.tar.gz" \
&& mkdir -p /data/joal \
&& tar zxvf /tmp/joal.tar.gz -C /data/joal \
&& chown -R $(id -u):$(id -g) /data/joal \