Skip to content

Commit

Permalink
add tini
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <zoey@z0ey.de>
  • Loading branch information
Zoey2936 authored Aug 2, 2023
1 parent 7a61eb6 commit babb3d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM haproxy:2.8.1-alpine3.18
USER root
RUN apk add --no-cache ca-certificates tzdata openssl curl
RUN apk add --no-cache ca-certificates tzdata tini openssl curl

COPY start.sh /usr/local/bin/start.sh
COPY haproxy.cfg /etc/haproxy/haproxy.cfg
COPY haproxy-no-post.cfg /etc/haproxy/haproxy-no-post.cfg
ENTRYPOINT ["start.sh"]
ENTRYPOINT ["tini", "--", "start.sh"]
HEALTHCHECK CMD (curl -sI http://localhost:2375 -o /dev/null && curl -skI https://localhost:2375 -o /dev/null) || exit 1

ENV ALLOW_POWER=0 \
Expand Down

0 comments on commit babb3d7

Please sign in to comment.