This commit is contained in:
2023-08-25 02:34:33 +02:00
parent 78d3b1bb49
commit 283437876d
3 changed files with 20 additions and 4 deletions

View File

@@ -43,6 +43,8 @@ RUN promtail --version
COPY rootfs /
WORKDIR /data/promtail
COPY s6-overlay /package/admin/s6-overlay-3.1.5.0/
# Build arguments
ARG BUILD_ARCH
ARG BUILD_DATE

View File

@@ -1,9 +1,9 @@
---
build_from:
amd64: ghcr.io/hassio-addons/ubuntu-base/amd64:8.2.1
armhf: ghcr.io/hassio-addons/ubuntu-base/armhf:8.2.1
armv7: ghcr.io/hassio-addons/ubuntu-base/armv7:8.2.1
aarch64: ghcr.io/hassio-addons/ubuntu-base/aarch64:8.2.1
amd64: ghcr.io/hassio-addons/debian-base/amd64:7.1.0
armhf: ghcr.io/hassio-addons/debian-base/armhf:7.1.0
armv7: ghcr.io/hassio-addons/debian-base/armv7:7.1.0
aarch64: ghcr.io/hassio-addons/debian-base/aarch64:7.1.0
args:
YQ_VERSION: 4.35.1
PROMTAIL_VERSION: 2.8.4

View File

@@ -0,0 +1,14 @@
#!/command/with-contenv bashio
# shellcheck shell=bash
# ==============================================================================
# Home Assistant Community Add-on: Base Images
# Configures the timezone
# ==============================================================================
set -x
bashio::log.info "Configuring timezone (${TZ:-None})..."
ln --symbolic --no-dereference --force "/usr/share/zoneinfo/${TZ:-UTC}" /etc/localtime
echo "${TZ:-UTC}" > /etc/timezone
dpkg-reconfigure --frontend noninteractive tzdata 2> /dev/null