Align bashio code

This commit is contained in:
Alexandre
2021-10-23 19:02:28 +02:00
parent fe8c59f012
commit 97499236c0
12 changed files with 61 additions and 44 deletions

View File

@@ -7,18 +7,19 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ARG BUILD_VERSION
ARG BUILD_UPSTREAM="2.1.26"
ARG BASHIO_VERSION=0.13.1
RUN \
#Install bashio
#Install bashio
apt-get clean \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
wget \
jq \
nginx \
#Install bashio
#Install bashio
&& curl -J -L -o /tmp/bashio.tar.gz \
"https://github.com/hassio-addons/bashio/archive/v0.13.1.tar.gz" \
"https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
&& mkdir /tmp/bashio \
&& tar zxvf \
/tmp/bashio.tar.gz \
@@ -27,12 +28,12 @@ RUN \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
\
#Install Joal
#Install Joal
&& 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 \
&& rm /data/joal/jack-of* \
#Clean
#Clean
&& rm -fr \
/tmp/* \
/var/{cache,log}/* \