14 lines
361 B
Docker
14 lines
361 B
Docker
FROM ubuntu:latest
|
|
|
|
RUN apt-get update && apt-get install -y pdns-backend-sqlite3 pdns-server sqlite3
|
|
|
|
COPY ./docker-test/pdns.sqlite.sql /data/pdns.sql
|
|
ADD ./docker-test/start.sh /data/
|
|
|
|
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
|