Created
June 9, 2016 23:04
-
-
Save girishkalele/f8222e57e9afc95eaeef991778da56a3 to your computer and use it in GitHub Desktop.
dns perf dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
MAINTAINER Abhishek Shah "[email protected]" | |
ADD README.md README.md | |
#ADD Dockerfile Dockerfile | |
RUN apt-get -q update | |
#Install dependencies needed for building dnsperf | |
RUN apt-get install -y build-essential | |
RUN apt-get install -y bind9utils libbind-dev libkrb5-dev libssl-dev libcap-dev libxml2-dev | |
#Install curl, wget is not required, but adding it in for convenience | |
RUN apt-get install -y curl wget | |
#Fetch dnsperf | |
RUN curl ftp://ftp.nominum.com/pub/nominum/dnsperf/2.0.0.0/dnsperf-src-2.0.0.0-1.tar.gz -O | |
RUN tar xfvz dnsperf-src-2.0.0.0-1.tar.gz | |
#Get query data file for dnsperf | |
RUN wget ftp://ftp.nominum.com/pub/nominum/dnsperf/data/queryfile-example-current.gz | |
RUN gunzip queryfile-example-current.gz | |
#Build dnsperf | |
RUN cd /dnsperf-src-2.0.0.0-1 && ./configure | |
RUN cd /dnsperf-src-2.0.0.0-1 && make clean | |
RUN cd /dnsperf-src-2.0.0.0-1 && make | |
RUN cd /dnsperf-src-2.0.0.0-1 && make install | |
#Install dnsutils | |
RUN apt-get install -y dnsutils |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment