Update Dockerfile

This commit is contained in:
Alexandre
2020-11-30 08:25:35 +01:00
committed by GitHub
parent db7a8bd051
commit c491fe3ea7

View File

@@ -5,26 +5,6 @@ FROM $BUILD_FROM
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update \
\
&& apt-get install -y --no-install-recommends \
jq=1.5+dfsg-2 \
\
&& apt-get -y upgrade cifs-utils \
&& curl -J -L -o /tmp/bashio.tar.gz \
"https://github.com/hassio-addons/bashio/archive/v0.7.1.tar.gz" \
&& mkdir /tmp/bashio \
&& tar zxvf \
/tmp/bashio.tar.gz \
--strip 1 -C /tmp/bashio \
\
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -fr \
/tmp/* \
/var/{cache,log}/* \
/var/lib/apt/lists/*
# copy local files
COPY root/ /