Update Dockerfile

This commit is contained in:
Alexandre
2021-10-06 16:42:12 +02:00
committed by GitHub
parent 666975f3a3
commit 33c4bbece5

View File

@@ -1,23 +1,22 @@
FROM bartixxx32/teamspeak3:latest FROM bartixxx32/teamspeak3:latest
COPY rootfs / #COPY rootfs /
#ARG BASHIO_VERSION=0.13.1
ARG BASHIO_VERSION=0.13.1 #RUN \
RUN \
################ ################
# Install apps # # Install apps #
################ ################
apk add --no-cache curl jq \ #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 \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \ #&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio #&& rm -rf /tmp/bashio
############### ###############
# Adapt image # # Adapt image #
############### ###############