Add tini. It really was as simple as that....
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
parent
e0678bd803
commit
cecf8e0954
|
@ -29,7 +29,8 @@ RUN apk add --no-cache \
|
||||||
ncurses \
|
ncurses \
|
||||||
binutils \
|
binutils \
|
||||||
tzdata \
|
tzdata \
|
||||||
shadow
|
shadow \
|
||||||
|
tini
|
||||||
|
|
||||||
ADD https://ftl.pi-hole.net/macvendor.db /macvendor.db
|
ADD https://ftl.pi-hole.net/macvendor.db /macvendor.db
|
||||||
COPY crontab.txt /crontab.txt
|
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
|
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" ]
|
Loading…
Reference in New Issue