This commit is contained in:
2023-05-01 17:15:28 +02:00
parent b7886399ce
commit f45a9ae740
6 changed files with 15 additions and 67 deletions

View File

@@ -10,8 +10,6 @@ ARG BUILD_REF
ARG BUILD_REPOSITORY
ARG BUILD_VERSION
ARG TELEGRAF_VERSION
ARG BASHIO_VERSION
ARG TEMPIO_VERSION
# Environment variables
ENV \
@@ -44,20 +42,6 @@ RUN set -ex && \
apt-get install telegraf=${TELEGRAF_VERSION} && \
rm -rf /var/lib/apt/lists/*
RUN curl -J -L -o /tmp/bashio.tar.gz \
"https://github.com/hassio-addons/bashio/archive/${BASHIO_VERSION}.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 && \
curl -L -s -o /usr/bin/tempio \
"https://github.com/home-assistant/tempio/releases/download/${TEMPIO_VERSION}/tempio_${BUILD_ARCH}" && \
chmod a+x /usr/bin/tempio && \
rm -fr \
/tmp/*
EXPOSE 8125/udp 8092/udp 8094
COPY entrypoint.sh /entrypoint.sh

View File

@@ -1,10 +1,8 @@
build_from:
aarch64: library/buildpack-deps:bullseye-curl
amd64: library/buildpack-deps:bullseye-curl
armhf: library/buildpack-deps:bullseye-curl
armv7: library/buildpack-deps:bullseye-curl
i386: library/buildpack-deps:bullseye-curl
aarch64: ghcr.io/hassio-addons/debian-base/amd64:6.2.5
amd64: ghcr.io/hassio-addons/debian-base/amd64:6.2.5
armhf: ghcr.io/hassio-addons/debian-base/amd64:6.2.5
armv7: ghcr.io/hassio-addons/debian-base/amd64:6.2.5
i386: ghcr.io/hassio-addons/debian-base/amd64:6.2.5
args:
TELEGRAF_VERSION: 1.26.0-1
BASHIO_VERSION: v0.14.3
TEMPIO_VERSION: 2021.09.0
TELEGRAF_VERSION: 1.26.2-1

View File

@@ -1,6 +1,6 @@
---
name: Telegraf
version: 1.26.0-1
version: 1.26.2-1
slug: hassio_telegraf
description: An addon to add telegraf to hassio.
url: https://gitea.bonelle-family.dscloud.biz/francois.bonelle/hassio-repo.git