Update Dockerfile

This commit is contained in:
Alexandre
2021-01-25 22:52:00 +01:00
committed by GitHub
parent f02c66d12e
commit c009bb1601

View File

@@ -4,6 +4,9 @@ FROM $BUILD_FROM
VOLUME [ "/data" ]
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN \
#Install bashio
apt-get update \
@@ -21,7 +24,7 @@ RUN \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
\
#Install Joal
&& curl -J -L -o /tmp/joal.tar.gz "https://github.com/anthonyraymond/joal/releases/download/{$BUILD_VERSION}/joal.tar.gz" \
&& curl -J -L -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 \