Skip to content

Commit

Permalink
powerdns:oracle
Browse files Browse the repository at this point in the history
  • Loading branch information
soullivaneuh committed Jan 17, 2016
1 parent b2c9450 commit 6eacb84
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ env:
- VERSION=3.4 VARIANT=bind
- VERSION=3.4 VARIANT=geoip
- VERSION=3.4 VARIANT=mysql
- VERSION=3.4 VARIANT=oracle
- VERSION=3.4 VARIANT=sqlite3

before_script:
Expand Down
29 changes: 29 additions & 0 deletions 3.4/oracle/Dockerfile
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 openssl tar file gcc g++ make autoconf boost-dev \
&& apk add --no-cache --virtual .modules-build-deps \

&& wget https://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"]
4 changes: 4 additions & 0 deletions 3.4/oracle/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pdns:
image: powerdns:oracle
ports:
- '53:53'
1 change: 1 addition & 0 deletions 3.4/oracle/pdns.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
launch=oracle

0 comments on commit 6eacb84

Please sign in to comment.