Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Dockerfile - github.com/dnsviz/dnsviz.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: afb6d01423581e37abdd914d9c1393beafd5dbf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM alpine:edge

RUN apk add python3 graphviz ttf-liberation bind bind-tools
RUN apk add --virtual builddeps linux-headers py3-pip python3-dev graphviz-dev gcc libc-dev openssl-dev swig && \
	pip3 install pygraphviz m2crypto dnspython && \
	apk del builddeps

COPY . /tmp/dnsviz
RUN cd /tmp/dnsviz && python3 setup.py build && python3 setup.py install

WORKDIR /data
ENTRYPOINT ["/usr/bin/dnsviz"]
CMD ["help"]