mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update Dockerfile
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user