Commit 3b7eb146 authored by kaiyou's avatar kaiyou
Browse files

Remove MySQL specific stuff from the Dockerfile

parent 747a5e0b
FROM debian:jessie
ENV PDNS_VERSION 3.4.5-1
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y pdns-server pdns-backend-mysql \
&& apt-get install -y wget \
&& apt-get clean
ADD ./start.sh /start.sh
ENV DNS_GMYSQL_HOST=db
RUN wget -O pdns.deb https://downloads.powerdns.com/releases/deb/pdns-static_${PDNS_VERSION}_amd64.deb \
&& DEBIAN_FRONTEND=noninteractive dpkg -i pdns.deb \
&& rm -f pdns.deb
EXPOSE 53 53/udp 5380
EXPOSE 53 53/udp 8081
CMD ./start.sh
ENTRYPOINT ["pdns_server", "--master=yes", "--slave=yes", "--webserver=yes"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment