Add tini. It really was as simple as that....

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2023-07-26 21:35:55 +01:00
parent e0678bd803
commit cecf8e0954
No known key found for this signature in database
1 changed files with 4 additions and 2 deletions

View File

@ -29,7 +29,8 @@ RUN apk add --no-cache \
ncurses \
binutils \
tzdata \
shadow
shadow \
tini
ADD https://ftl.pi-hole.net/macvendor.db /macvendor.db
COPY crontab.txt /crontab.txt
@ -68,4 +69,5 @@ COPY --chmod=0755 start.sh /usr/bin/start.sh
HEALTHCHECK CMD dig +short +norecurse +retry=0 @127.0.0.1 pi.hole || exit 1
ENTRYPOINT [ "start.sh" ]
ENTRYPOINT [ "tini", "--" ]
CMD [ "/usr/bin/start.sh" ]