Update apps/home-assistant/Dockerfile
This commit is contained in:
parent
be0079ed97
commit
a343c81526
1 changed files with 3 additions and 5 deletions
|
@ -33,7 +33,6 @@ RUN \
|
|||
bluez-deprecated \
|
||||
bluez-libs \
|
||||
ca-certificates \
|
||||
catatonit \
|
||||
tini \
|
||||
coreutils \
|
||||
cups-libs \
|
||||
|
@ -104,15 +103,14 @@ COPY ./entrypoint.sh /entrypoint.sh
|
|||
|
||||
# Ensure permissions for entrypoint
|
||||
RUN chmod +x /entrypoint.sh \
|
||||
&& chmod +x /usr/bin/catatonit \
|
||||
&& chmod +x /sbin/tini
|
||||
|
||||
USER nobody:nogroup
|
||||
WORKDIR /config
|
||||
VOLUME ["/config"]
|
||||
|
||||
# Use tini as fallback if catatonit fails
|
||||
ENTRYPOINT ["/usr/bin/catatonit", "--", "/entrypoint.sh"]
|
||||
CMD ["/sbin/tini", "--", "/entrypoint.sh"]
|
||||
ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"]
|
||||
#ENTRYPOINT ["/usr/bin/catatonit", "--", "/entrypoint.sh"]
|
||||
#CMD ["/sbin/tini", "--", "/entrypoint.sh"]
|
||||
|
||||
LABEL org.opencontainers.image.source="https://github.com/home-assistant/core"
|
||||
|
|
Loading…
Reference in a new issue