Update apps/home-assistant/Dockerfile

This commit is contained in:
Tommy 2025-01-04 00:12:25 +00:00
parent be0079ed97
commit a343c81526
Signed by: Mooo[bot]
GPG key ID: CF3AFE4D5B62BB9A

View file

@ -33,7 +33,6 @@ RUN \
bluez-deprecated \ bluez-deprecated \
bluez-libs \ bluez-libs \
ca-certificates \ ca-certificates \
catatonit \
tini \ tini \
coreutils \ coreutils \
cups-libs \ cups-libs \
@ -104,15 +103,14 @@ COPY ./entrypoint.sh /entrypoint.sh
# Ensure permissions for entrypoint # Ensure permissions for entrypoint
RUN chmod +x /entrypoint.sh \ RUN chmod +x /entrypoint.sh \
&& chmod +x /usr/bin/catatonit \
&& chmod +x /sbin/tini && chmod +x /sbin/tini
USER nobody:nogroup USER nobody:nogroup
WORKDIR /config WORKDIR /config
VOLUME ["/config"] VOLUME ["/config"]
# Use tini as fallback if catatonit fails ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"]
ENTRYPOINT ["/usr/bin/catatonit", "--", "/entrypoint.sh"] #ENTRYPOINT ["/usr/bin/catatonit", "--", "/entrypoint.sh"]
CMD ["/sbin/tini", "--", "/entrypoint.sh"] #CMD ["/sbin/tini", "--", "/entrypoint.sh"]
LABEL org.opencontainers.image.source="https://github.com/home-assistant/core" LABEL org.opencontainers.image.source="https://github.com/home-assistant/core"