powerdns-admin/docker-test/Dockerfile.pdns

14 lines
361 B
Docker
Raw Normal View History

2019-03-01 22:49:31 +00:00
FROM ubuntu:latest
RUN apt-get update && apt-get install -y pdns-backend-sqlite3 pdns-server sqlite3
2019-12-04 04:50:46 +00:00
COPY ./docker-test/pdns.sqlite.sql /data/pdns.sql
ADD ./docker-test/start.sh /data/
2019-03-01 22:49:31 +00:00
RUN rm -f /etc/powerdns/pdns.d/pdns.simplebind.conf
RUN rm -f /etc/powerdns/pdns.d/bind.conf
RUN chmod +x /data/start.sh && mkdir -p /var/empty/var/run
CMD /data/start.sh