build from upstream

This commit is contained in:
Alexandre
2021-02-21 08:38:19 +01:00
parent a7138045f5
commit 9d0ec76c82
14 changed files with 30 additions and 20 deletions

View File

@@ -7,6 +7,7 @@ VOLUME [ "/data" ]
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG BUILD_VERSION
ARG BUILD_UPSTREAM="2.1.24/"
RUN \
#Install bashio
@@ -26,7 +27,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_UPSTREAM/joal.tar.gz" \
&& mkdir -p /data/joal \
&& tar zxvf /tmp/joal.tar.gz -C /data/joal \
&& chown -R $(id -u):$(id -g) /data/joal \