This commit is contained in:
2022-06-18 23:52:46 +02:00
parent ff7d475465
commit 6c26d878ad
5 changed files with 18 additions and 7 deletions

View File

@@ -12,6 +12,8 @@ ARG BUILD_VERSION
ARG TELEGRAF_VERSION
ARG BASHIO_VERSION
ARG TEMPIO_VERSION
ARG HAPROXY_VERSION
ARG HAPROXY_SHA256
# Environment variables
ENV \
@@ -52,7 +54,7 @@ RUN \
jq=1.6-r1 \
tzdata=2022a-r0 && \
curl -J -L -o /tmp/bashio.tar.gz \
"https://github.com/hassio-addons/bashio/archive/v0.14.3.tar.gz" && \
"https://github.com/hassio-addons/bashio/archive/${BASHIO_VERSION}.tar.gz" && \
mkdir /tmp/bashio && \
tar zxvf \
/tmp/bashio.tar.gz \
@@ -60,7 +62,7 @@ RUN \
mv /tmp/bashio/lib /usr/lib/bashio && \
ln -s /usr/lib/bashio/bashio /usr/bin/bashio && \
curl -L -s -o /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/2021.09.0/tempio_${BUILD_ARCH}" && \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" && \
chmod a+x /usr/bin/tempio && \
apk del --no-cache --purge .build-dependencies && \
rm -f -r \
@@ -80,9 +82,9 @@ RUN set -eux; \
mkdir /var/lib/haproxy; \
chown haproxy:haproxy /var/lib/haproxy
ENV HAPROXY_VERSION 2.6.0
ENV HAPROXY_URL https://www.haproxy.org/download/2.6/src/haproxy-2.6.0.tar.gz
ENV HAPROXY_SHA256 90f8e608aacd513b0f542e0438fa12e7fb4622cf58bd4375f3fe0350146eaa59
ENV HAPROXY_VERSION ${HAPROXY_VERSION}
ENV HAPROXY_URL https://www.haproxy.org/download/2.6/src/haproxy-${HAPROXY_VERSION}.tar.gz
ENV HAPROXY_SHA256 ${HAPROXY_SHA256}
RUN set -eux; \
\