Update Dockerfile

This commit is contained in:
Alexandre
2021-06-22 21:35:17 +02:00
committed by GitHub
parent e2f6fe5e3a
commit 2def16c3c9

View File

@@ -4,10 +4,17 @@ FROM ${BUILD_FROM}
ARG BASHIO_VERSION=0.13.0 ARG BASHIO_VERSION=0.13.0
RUN \ RUN \
################
# Install apps #
################
apk add --no-cache \
curl \
jq \
\
################### ###################
# 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 \