This commit is contained in:
Alexandre
2023-09-05 23:24:01 +02:00
committed by GitHub
parent cbb6223689
commit 0f62e501fc
81 changed files with 243 additions and 162 deletions

View File

@@ -27,8 +27,8 @@ ENV BASHIO_VERSION=1.29.1
# Set S6 wait time
ENV S6_CMD_WAIT_FOR_SERVICES=1 \
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
S6_SERVICES_GRACETIME=0 \
S6_STAGE2_HOOK=/ha_entrypoint.sh
S6_SERVICES_GRACETIME=0
RUN \
echo '#!/bin/sh' > /usr/bin/xdg-icon-resource && chmod +x /usr/bin/xdg-icon-resource \
@@ -101,6 +101,7 @@ RUN if ! command -v sqlite3 >/dev/null 2>/dev/null; then (apt-get update && apt-
################
# Add entrypoint
ENV S6_STAGE2_HOOK=/ha_entrypoint.sh
ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh"
# Corrects permissions for s6 v3