Update Dockerfile

This commit is contained in:
Alexandre
2021-11-13 16:38:26 +01:00
committed by GitHub
parent e7589289e3
commit 954d00d00c

View File

@@ -7,10 +7,18 @@ USER root
COPY rootfs / COPY rootfs /
RUN \ RUN \
################
# Install apps #
################
apt-get update \
&& apt-get install -y --no-install-recommends \
jq \
git \
\
################### ###################
# Install bashio # # Install bashio #
################## ##################
mkdir -p /tmp/bashio \ && mkdir -p /tmp/bashio \
&& curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \ && curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
| tar -xzf - --strip 1 -C /tmp/bashio \ | tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \ && mv /tmp/bashio/lib /usr/lib/bashio \