Created
March 28, 2018 20:13
-
-
Save weldpua2008/35ad446e391cef7492dd3aaae573a356 to your computer and use it in GitHub Desktop.
PDN 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
| apt-get update && \ | |
| export BUILD_SRC="https://downloads.powerdns.com/releases/pdns-4.0.1.tar.bz2" && \ | |
| export BUILD_DEP="g++ libboost-all-dev libtool make pkg-config libmysqlclient-dev libssl-dev" && \ | |
| export UNINSTABLE_BUILD_TOOLS="wget bzip2" && \ | |
| apt-get install -y $BUILD_DEP $UNINSTABLE_BUILD_TOOLS && \ | |
| wget $BUILD_SRC -O pdns.tar.bz2 && \ | |
| export PDNS_BUILD_TMP="pdns-src" && \ | |
| mkdir -p $PDNS_BUILD_TMP && \ | |
| tar jxf pdns.tar.bz2 --strip-components=1 -C $PDNS_BUILD_TMP && \ | |
| rm -f pdns.tar.bz2 && \ | |
| cd $PDNS_BUILD_TMP && \ | |
| ./configure && \ | |
| make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment