File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM python:2.7
2+
3+ RUN set -ex \
4+ && apt-get update
5+ && curl -fOSL "https://unbound.net/downloads/unbound-1.5.8.tar.gz" \
6+ && curl -fOSL "https://github.com/getdnsapi/getdns/archive/v0.9.0.tar.gz" \
7+ && mkdir -p /usr/src/unbound \
8+ && tar -xzC /usr/src/unbound --strip-components=1 -f unbound-1.5.8.tar.gz \
9+ && rm unbound-1.5.8.tar.gz \
10+ && mkdir /usr/src/libgetdns \
11+ && tar -xzC /usr/src/libgetdns --strip-components=1 -f v0.9.0.tar.gz \
12+ && apt-get -y install libidn11-dev \
13+ && apt-get -y install python-dev \
14+ && cd /usr/src/unbound \
15+ && ./configure \
16+ && make \
17+ && make install \
18+ && ldconfig \
19+ && cd /usr/src/libgetdns \
20+ && libtoolize -ci \
21+ && autoreconf -fi \
22+ && ./configure \
23+ && make \
24+ && make install \
25+ && ldconfig \
26+ && mkdir -p /etc/unbound \
27+ && unbound-anchor -a /etc/unbound/getdns-root.key \
28+ && cd /usr/src \
29+ && git clone https://github.com/getdnsapi/getdns-python-bindings.git \
30+ && cd /usr/src/getdns-python-bindings \
31+ && git checkout develop \
32+ && python setup.py build \
33+ && python setup.py install
34+
35+ CMD ["python2" ]
You can’t perform that action at this time.
0 commit comments