docker-pdns/pdns/Dockerfile.alpine
Peter Schiffer c9247f4b32
Minor updates (#59)
* Update PDNS recursor version in Fedora image

* Update PDNS version in alpine image

* Update Dockerfile

* Update Dockerfile

* Update mariadb image version in kubernetes example

* Update admin images in k8s example

* Update ansible-playbook.yml

* Fix PDNS version in k8s example

* Update docker-compose.yml

* Update README.md

* Update docker-image.yml

* Update docker-image-pr.yml
2021-10-06 00:00:38 +02:00

26 lines
428 B
Docker

FROM alpine:3.14.2
RUN apk add --no-cache \
mariadb-client \
pdns \
pdns-backend-mysql \
pdns-doc \
py3-pip \
python3
RUN pip3 install --no-cache-dir envtpl
ENV VERSION=4.4 \
PDNS_guardian=yes \
PDNS_setuid=pdns \
PDNS_setgid=pdns \
PDNS_launch=gmysql
EXPOSE 53 53/udp
COPY pdns.conf.tpl /
COPY docker-entrypoint.sh /
ENTRYPOINT [ "/docker-entrypoint.sh" ]
CMD [ "/usr/sbin/pdns_server" ]