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-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"
|
||||||
|
|
Loading…
Reference in a new issue