From 64c017c7999c90f651bd23ade148ba812a2c6da8 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Wed, 22 Jun 2022 14:15:48 -0300 Subject: [PATCH] Added busybox to aid in service healthcheck and debugging --- pdns/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pdns/Dockerfile b/pdns/Dockerfile index 47a8f6e..ea2d38d 100644 --- a/pdns/Dockerfile +++ b/pdns/Dockerfile @@ -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