-
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
7519a06
commit 607c142
Showing
4 changed files
with
35 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
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,29 @@ | ||
FROM alpine:3.3 | ||
|
||
MAINTAINER Sullivan SENECHAL <[email protected]> | ||
|
||
ADD oci.h /usr/include/ | ||
|
||
RUN chown root:root /usr/include/oci.h | ||
|
||
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="oracle" \ | ||
&& 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:oracle | ||
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=oracle |