Skip to content

Commit

Permalink
Added busybox to aid in service healthcheck and debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiorauber committed Jun 22, 2022
1 parent 97d8ed7 commit 64c017c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pdns/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ RUN chmod 644 /etc/apt/trusted.gpg.d/powerdns-key.asc && \
echo "path-include /usr/share/doc/*/*.sql" >> /etc/dpkg/dpkg.cfg.d/docker && \
DEBIAN_FRONTEND=noninteractive apt-get install -q -y pdns-server pdns-backend-mysql mariadb-client && \
rm /etc/powerdns/pdns.d/*.conf && rm /etc/powerdns/*.conf && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends cron curl jq && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends cron curl jq busybox && \
rm /etc/cron.daily/* && \
mkdir /var/run/pdns && \
ln -s /bin/busybox /usr/bin/nslookup && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

EXPOSE 53/udp 53/tcp
Expand Down

0 comments on commit 64c017c

Please sign in to comment.