mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-04 14:54:07 +02:00
Update Dockerfile
This commit is contained in:
@@ -5,26 +5,6 @@ FROM $BUILD_FROM
|
|||||||
# Set shell
|
# Set shell
|
||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
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 local files
|
||||||
COPY root/ /
|
COPY root/ /
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user