mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-26 10:33:40 +02:00
Update Dockerfile
This commit is contained in:
@@ -4,6 +4,8 @@ FROM ${BUILD_FROM}
|
|||||||
|
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
|
ARG BASHIO_VERSION=0.13.0
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
################
|
################
|
||||||
# Install apps #
|
# Install apps #
|
||||||
@@ -13,16 +15,12 @@ RUN \
|
|||||||
##################
|
##################
|
||||||
# Install bashio #
|
# Install bashio #
|
||||||
##################
|
##################
|
||||||
&& mkdir -p /bashio/bashio \
|
&& mkdir -p /tmp/bashio \
|
||||||
&& curl -J -L -o /bashio/bashio.tar.gz \
|
&& curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
|
||||||
"https://github.com/hassio-addons/bashio/archive/v0.13.0.tar.gz" \
|
| tar -xzf - --strip 1 -C /tmp/bashio \
|
||||||
&& tar zxvf \
|
&& mv /tmp/bashio/lib /usr/lib/bashio \
|
||||||
/bashio/bashio.tar.gz \
|
|
||||||
--strip 1 -C /bashio/bashio \
|
|
||||||
\
|
|
||||||
&& mv /bashio/bashio/lib /usr/lib/bashio \
|
|
||||||
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
|
||||||
&& rm -fr /bashio \
|
&& rm -rf /tmp/bashio \
|
||||||
\
|
\
|
||||||
###############
|
###############
|
||||||
# Adapt image #
|
# Adapt image #
|
||||||
|
|||||||
Reference in New Issue
Block a user