From c009bb16015916287a79ccc5fadab1109bebdac9 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 25 Jan 2021 22:52:00 +0100 Subject: [PATCH] Update Dockerfile --- joal/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/joal/Dockerfile b/joal/Dockerfile index 39f57b779..0c888ef3a 100644 --- a/joal/Dockerfile +++ b/joal/Dockerfile @@ -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 \