Browse Source

Added busybox to aid in service healthcheck and debugging

master 4.6.2
Fábio Kaiser Rauber 3 years ago
parent
commit
64c017c799
  1. 3
      pdns/Dockerfile

3
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 && \ 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 && \ 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 && \ 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/* && \ rm /etc/cron.daily/* && \
mkdir /var/run/pdns && \ mkdir /var/run/pdns && \
ln -s /bin/busybox /usr/bin/nslookup && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
EXPOSE 53/udp 53/tcp EXPOSE 53/udp 53/tcp

Loading…
Cancel
Save