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