-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
47aa78a
commit aaac789
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM alpine:3.3 | ||
|
||
MAINTAINER Sullivan SENECHAL <[email protected]> | ||
|
||
RUN apk add --no-cache --virtual .deps boost-serialization libstdc++ \ | ||
&& apk add --no-cache --virtual .modules-deps \ | ||
&& apk add --no-cache --virtual .build-deps tar file gcc g++ make autoconf boost-dev \ | ||
&& apk add --no-cache --virtual .modules-build-deps \ | ||
|
||
&& wget http://downloads.powerdns.com/releases/pdns-3.4.7.tar.bz2 -O pdns.tar.bz2 \ | ||
&& mkdir pdns && tar xf pdns.tar.bz2 -C pdns --strip-components 1 \ | ||
&& rm -rf pdns.tar.bz2 \ | ||
&& cd pdns \ | ||
&& ./configure --with-modules="godbc" \ | ||
&& make -j$(getconf _NPROCESSORS_ONLN) && make install && make clean \ | ||
&& cd .. \ | ||
&& rm -r pdns \ | ||
|
||
&& apk del .build-deps .modules-build-deps | ||
|
||
ADD pdns.conf /usr/local/etc/pdns.conf | ||
|
||
EXPOSE 53 | ||
|
||
CMD ["pdns_server", "--loglevel=9", "--log-dns-queries"] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
pdns: | ||
image: powerdns:odbc | ||
ports: | ||
- '53:53' |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
launch=godbc |