fix: override upstream entrypoint to prevent chown failure on host-mounted paths

The upstream docker-entrypoint.sh runs chown -R on /app/backend/data before
the s6 run script can replace it with a symlink. When the symlink target is a
host-mounted HA path (/share, /data, etc.), the chown fails with
"Operation not permitted".

Overriding ENTRYPOINT with /init hands control directly to s6-overlay, which
then runs the run script that creates the symlinks before node starts.
This commit is contained in:
petruknw
2026-05-20 23:07:41 +10:00
parent b37e3208f5
commit 46df56a264

View File

@@ -18,3 +18,8 @@ LABEL \
COPY rootfs /
RUN chmod a+x /etc/services.d/aurral/run
# Override the upstream docker-entrypoint.sh which tries to chown host-mounted
# paths and fails with "Operation not permitted" in the HA supervisor environment.
# s6-overlay's /init takes over process supervision instead.
ENTRYPOINT ["/init"]