Skip to content

Commit

Permalink
Disable Docker healthcheck command in Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
nsouto committed Apr 30, 2024
1 parent e37afdb commit 5c4e26d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pdns-rec/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ COPY ./etc/pdns/zones /etc/pdns/zones
COPY ./etc/pdns/recursor.conf.tpl /
COPY ./docker-entrypoint.sh /

HEALTHCHECK --interval=5s --timeout=3s CMD \
drill health.localhost.tld @localhost | grep -q 'rcode: NXDOMAIN' && \
drill localhost @localhost | grep -q 'rcode: NOERROR'
#HEALTHCHECK --interval=5s --timeout=3s CMD \
# drill health.localhost.tld @localhost | grep -q 'rcode: NXDOMAIN' && \
# drill localhost @localhost | grep -q 'rcode: NOERROR'

ENTRYPOINT [ "/docker-entrypoint.sh" ]

Expand Down

0 comments on commit 5c4e26d

Please sign in to comment.