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
ARG HAPROXY_VERSION
ARG HAPROXY_SHA256
@@ -38,36 +36,6 @@ SHELL ["/bin/ash", "-o", "pipefail", "-c"]
USER root
RUN \
set -o pipefail && \
apk add --no-cache --virtual .build-dependencies \
tar \
xz && \
apk add --no-cache \
libcrypto1.1 \
libssl1.1 \
musl-utils \
musl && \
apk add --no-cache \
bash \
curl \
jq \
tzdata && \
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 && \
apk del --no-cache --purge .build-dependencies && \
rm -f -r \
/tmp/*
RUN set -eux; \
addgroup --gid 99 --system haproxy; \
adduser \

View File

@@ -1,11 +1,9 @@
build_from:
aarch64: library/alpine:3.17
amd64: library/alpine:3.17
armhf: library/alpine:3.17
armv7: library/alpine:3.17
i386: library/alpine:3.17
aarch64: ghcr.io/hassio-addons/base:13.2.2
amd64: ghcr.io/hassio-addons/base:13.2.2
armhf: ghcr.io/hassio-addons/base:13.2.2
armv7: ghcr.io/hassio-addons/base:13.2.2
i386: ghcr.io/hassio-addons/base:13.2.2
args:
BASHIO_VERSION: v0.14.3
TEMPIO_VERSION: 2021.09.0
HAPROXY_VERSION: 2.6.11
HAPROXY_SHA256: e0bc430ac407747b077bc88ee6922b4616fa55a9e0f3ec84438dfb055eb9a715
HAPROXY_VERSION: 2.6.12
HAPROXY_SHA256: 58f9edb26bf3288f4b502658399281cc5d6478468bd178eafe579c8f41895854

View File

@@ -1,6 +1,6 @@
---
name: Docker-Socket-Proxy
version: 2.6.11
version: 2.6.12
slug: hassio_docker_socket_proxy
description: An addon to enable TCP docker access.
url: https://gitea.bonelle-family.dscloud.biz/francois.bonelle/hassio-repo.git

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