Update Dockerfile

This commit is contained in:
Alexandre
2021-10-17 17:26:19 +02:00
committed by GitHub
parent 8c98502d78
commit 04193c0698

View File

@@ -11,17 +11,17 @@ RUN \
##################
# Install bashio #
##################
#mkdir -p /tmp/bashio \
#&& curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
#| tar -xzf - --strip 1 -C /tmp/bashio \
# && mv /tmp/bashio/lib /usr/lib/bashio \
#&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
# && rm -rf /tmp/bashio \
mkdir -p /tmp/bashio \
&& curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
| tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio \
###############
# Adapt image #
###############
# Correct data path
mkdir -p /data /home/wger/src \
&& mkdir -p /data /home/wger/src \
&& ln -s /data /home/wger/src