Compare commits
No commits in common. "6c9c70962c660550895bad7762a103f3408629dd" and "892f57f7ac3fff06a97fd5c9cd5723f16df18c55" have entirely different histories.
6c9c70962c
...
892f57f7ac
@ -1,3 +1,6 @@
|
|||||||
|
# https://github.com/mdegat01/promtail-journal/releases
|
||||||
|
#FROM ghcr.io/mdegat01/promtail-journal/${BUILD_ARCH}:1.6.0 as build_promtail
|
||||||
|
|
||||||
# https://github.com/hassio-addons/addon-debian-base/releases
|
# https://github.com/hassio-addons/addon-debian-base/releases
|
||||||
# hadolint ignore=DL3006
|
# hadolint ignore=DL3006
|
||||||
ARG BUILD_FROM
|
ARG BUILD_FROM
|
||||||
@ -8,17 +11,16 @@ ARG YQ_VERSION=4.44.3
|
|||||||
|
|
||||||
ARG BUILD_ARCH
|
ARG BUILD_ARCH
|
||||||
# Add yq and tzdata (required for the timestamp stage)
|
# Add yq and tzdata (required for the timestamp stage)
|
||||||
|
RUN echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list
|
||||||
|
RUN apt-get update && apt-get install -t bullseye-backports -qy libsystemd-dev
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
apk update; \
|
apt-get update; \
|
||||||
\
|
apt-get install -qy --no-install-recommends \
|
||||||
apk add --no-cache --virtual .build-deps \
|
tar=1.34+dfsg-1 \
|
||||||
libsystemd-dev \
|
|
||||||
tar \
|
|
||||||
ca-certificates \
|
|
||||||
; \
|
; \
|
||||||
APKARCH="$(apk --print-arch)"; \
|
update-ca-certificates; \
|
||||||
RUN update-ca-certificates;
|
\
|
||||||
RUN case "${BUILD_ARCH}" in \
|
case "${BUILD_ARCH}" in \
|
||||||
amd64) BINARCH='amd64' ;; \
|
amd64) BINARCH='amd64' ;; \
|
||||||
armhf) BINARCH='arm' ;; \
|
armhf) BINARCH='arm' ;; \
|
||||||
armv7) BINARCH='arm' ;; \
|
armv7) BINARCH='arm' ;; \
|
||||||
@ -33,6 +35,7 @@ RUN case "${BUILD_ARCH}" in \
|
|||||||
rm /tmp/yq.tar.gz; \
|
rm /tmp/yq.tar.gz; \
|
||||||
yq --version; \
|
yq --version; \
|
||||||
\
|
\
|
||||||
|
apt-get clean; \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
|
||||||
chmod +x /etc/cont-init.d/promtail_setup.sh; \
|
chmod +x /etc/cont-init.d/promtail_setup.sh; \
|
||||||
chmod +x /etc/services.d/promtail/*;
|
chmod +x /etc/services.d/promtail/*;
|
9
addon-promtail-main/build.yaml
Normal file
9
addon-promtail-main/build.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
build_from:
|
||||||
|
amd64: ghcr.io/hassio-addons/debian-base/amd64:7.5.1
|
||||||
|
armhf: ghcr.io/hassio-addons/debian-base/armhf:7.5.1
|
||||||
|
armv7: ghcr.io/hassio-addons/debian-base/armv7:7.5.1
|
||||||
|
aarch64: ghcr.io/hassio-addons/debian-base/aarch64:7.5.1
|
||||||
|
codenotary:
|
||||||
|
base_image: codenotary@frenck.dev
|
||||||
|
signer: codenotary@degatano.com
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@ -1,9 +0,0 @@
|
|||||||
---
|
|
||||||
build_from:
|
|
||||||
amd64: ghcr.io/hassio-addons/base/amd64:16.3.4
|
|
||||||
armhf: ghcr.io/hassio-addons/base/armhf:16.3.4
|
|
||||||
armv7: ghcr.io/hassio-addons/base/armv7:16.3.4
|
|
||||||
aarch64: ghcr.io/hassio-addons/base/aarch64:16.3.4
|
|
||||||
codenotary:
|
|
||||||
base_image: codenotary@frenck.dev
|
|
||||||
signer: codenotary@degatano.com
|
|
Loading…
x
Reference in New Issue
Block a user