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

@@ -28,8 +28,8 @@ FROM ${BUILD_FROM}${BUILD_UPSTREAM}
# 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
# Specific modifications
ARG CONFIGLOCATION="/share/nextcloud"
@@ -111,6 +111,7 @@ VOLUME ["/share", "/ssl", "/data", "/media"]
################
# 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