mirror of https://github.com/getdnsapi/getdns.git
Modified Dockerfile to check out getdns master and to use unbound-anchor to install dnssec trust root
This commit is contained in:
parent
b0c55d540f
commit
146638ab94
|
@ -24,7 +24,7 @@ RUN set -ex \
|
||||||
&& cd /usr/src \
|
&& cd /usr/src \
|
||||||
&& git clone https://github.com/getdnsapi/getdns.git \
|
&& git clone https://github.com/getdnsapi/getdns.git \
|
||||||
&& cd /usr/src/getdns \
|
&& cd /usr/src/getdns \
|
||||||
&& git checkout release/1.1.1 \
|
&& git checkout master \
|
||||||
&& git submodule update --init \
|
&& git submodule update --init \
|
||||||
&& libtoolize -ci \
|
&& libtoolize -ci \
|
||||||
&& autoreconf -fi \
|
&& autoreconf -fi \
|
||||||
|
@ -35,7 +35,7 @@ RUN set -ex \
|
||||||
&& cp src/tools/stubby.conf /etc \
|
&& cp src/tools/stubby.conf /etc \
|
||||||
&& mkdir -p /etc/unbound \
|
&& mkdir -p /etc/unbound \
|
||||||
&& cd /etc/unbound \
|
&& cd /etc/unbound \
|
||||||
&& wget http://www.nomountain.net/getdns-root.key
|
&& unbound-anchor -a /etc/unbound/getdns-root.key || :
|
||||||
|
|
||||||
EXPOSE 53
|
EXPOSE 53
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue