Skip to content

Instantly share code, notes, and snippets.

@Habbie
Created January 29, 2021 20:42
Show Gist options
  • Save Habbie/bfc5aef067fd850a5137191534298ea9 to your computer and use it in GitHub Desktop.
Save Habbie/bfc5aef067fd850a5137191534298ea9 to your computer and use it in GitHub Desktop.
diff --git a/Dockerfile-auth b/Dockerfile-auth
index 3716a185e..ab5329918 100644
--- a/Dockerfile-auth
+++ b/Dockerfile-auth
@@ -44,12 +44,12 @@ RUN if [ "${DOCKER_FAKE_RELEASE}" = "YES" ]; then \
# simplify repeated -C calls with SUBDIRS?
RUN mkdir /build && \
./configure \
- --with-lua=luajit \
--sysconfdir=/etc/powerdns \
--enable-option-checking=fatal \
--with-dynmodules='bind geoip gmysql godbc gpgsql gsqlite3 ldap lmdb lua2 pipe random remote tinydns' \
--enable-tools \
- --enable-ixfrdist && \
+ --enable-ixfrdist \
+ --with-unixodbc-lib=/usr/lib/$(uname -m)-linux-gnu && \
make clean && \
make $MAKEFLAGS -C ext && make $MAKEFLAGS -C modules && make $MAKEFLAGS -C pdns && \
make -C pdns install DESTDIR=/build && make -C modules install DESTDIR=/build && make clean && \
diff --git a/Dockerfile-dnsdist b/Dockerfile-dnsdist
index 4df8fb80d..5e225eed6 100644
--- a/Dockerfile-dnsdist
+++ b/Dockerfile-dnsdist
@@ -40,7 +40,6 @@ RUN if [ "${DOCKER_FAKE_RELEASE}" = "YES" ]; then \
RUN mkdir /build && \
./configure \
- --with-lua=luajit \
LDFLAGS=-rdynamic \
--sysconfdir=/etc/dnsdist \
--enable-option-checking=fatal \
diff --git a/Dockerfile-recursor b/Dockerfile-recursor
index 6e291c2cd..a6e518527 100644
--- a/Dockerfile-recursor
+++ b/Dockerfile-recursor
@@ -48,7 +48,6 @@ RUN if [ "${DOCKER_FAKE_RELEASE}" = "YES" ]; then \
RUN mkdir /build && \
./configure \
- --with-lua=luajit \
LDFLAGS=-rdynamic \
--sysconfdir=/etc/powerdns \
--enable-option-checking=fatal && \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment