mirror of
https://github.com/hassio-addons/addon-debian-base.git
synced 2025-05-07 04:31:30 +00:00
Add Renovate for dependency management (#138)
This commit is contained in:
parent
d859f9caa1
commit
cfb314aeea
4 changed files with 94 additions and 21 deletions
|
@ -1,4 +1,4 @@
|
|||
ARG BUILD_FROM=debian:bullseye-20230208-slim
|
||||
ARG BUILD_FROM=debian:11.6-slim
|
||||
# hadolint ignore=DL3006
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
|
@ -25,7 +25,9 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|||
|
||||
# Install base system
|
||||
ARG BUILD_ARCH=amd64
|
||||
ARG S6_OVERLAY_VERSION="3.1.4.0"
|
||||
ARG BASHIO_VERSION="v0.14.3"
|
||||
ARG S6_OVERLAY_VERSION="v3.1.4.0"
|
||||
ARG TEMPIO_VERSION="2021.09.0"
|
||||
RUN \
|
||||
apt-get update \
|
||||
\
|
||||
|
@ -44,23 +46,23 @@ RUN \
|
|||
elif [ "${BUILD_ARCH}" = "amd64" ]; then S6_ARCH="x86_64"; \
|
||||
elif [ "${BUILD_ARCH}" = "armv7" ]; then S6_ARCH="arm"; fi \
|
||||
\
|
||||
&& curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" \
|
||||
&& curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz" \
|
||||
| tar -C / -Jxpf - \
|
||||
\
|
||||
&& curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz" \
|
||||
&& curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz" \
|
||||
| tar -C / -Jxpf - \
|
||||
\
|
||||
&& curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz" \
|
||||
&& curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz" \
|
||||
| tar -C / -Jxpf - \
|
||||
\
|
||||
&& curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz" \
|
||||
&& curl -L -s "https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz" \
|
||||
| tar -C / -Jxpf - \
|
||||
\
|
||||
&& mkdir -p /etc/fix-attrs.d \
|
||||
&& mkdir -p /etc/services.d \
|
||||
\
|
||||
&& 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 \
|
||||
|
@ -70,7 +72,7 @@ RUN \
|
|||
&& 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 \
|
||||
\
|
||||
&& apt-get purge -y --auto-remove \
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
build_from:
|
||||
aarch64: arm64v8/debian:bullseye-20230208-slim
|
||||
amd64: amd64/debian:bullseye-20230208-slim
|
||||
armhf: arm32v5/debian:bullseye-20230208-slim
|
||||
armv7: arm32v7/debian:bullseye-20230208-slim
|
||||
i386: i386/debian:bullseye-20230208-slim
|
||||
aarch64: arm64v8/debian:11.6-slim
|
||||
amd64: amd64/debian:11.6-slim
|
||||
armhf: arm32v5/debian:11.6-slim
|
||||
armv7: arm32v7/debian:11.6-slim
|
||||
i386: i386/debian:11.6-slim
|
||||
codenotary:
|
||||
signer: codenotary@frenck.dev
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue