Update Dockerfile

This commit is contained in:
Alexandre
2021-01-25 11:32:25 +01:00
committed by GitHub
parent edb010a85d
commit 5d01afe82a

View File

@@ -2,8 +2,10 @@ ARG BUILD_FROM
ARG BUILD_VERSION
FROM $BUILD_FROM
RUN \
#Install bashio
RUN apt-get update \
apt-get update \
&& apt-get install -y --no-install-recommends \
jq \
&& curl -J -L -o /tmp/bashio.tar.gz \
@@ -15,16 +17,15 @@ RUN apt-get update \
\
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio
\
#Install Joal
RUN mkdir -p /joal \
&& mkdir -p /joal \
&& curl -L -s \
"https://github.com/anthonyraymond/joal/releases/download/${BUILD_VERSION}/joal.tar.gz" \
| tar zxvf - -C /joal/ \
&& chown -R $(id -u):$(id -g) /joal
#Clean
RUN rm -fr \
&& rm -fr \
/tmp/* \
/var/{cache,log}/* \
/var/lib/apt/lists/*