2
0
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-11 07:10:32 +00:00

Remove --enable-event-api in Unbound compilation

Spotted by @mibere
This commit is contained in:
Frank Denis 2019-12-26 20:20:41 +01:00
parent ba7e420768
commit 70d8e28a56

View File

@ -25,7 +25,7 @@ RUN apt-get update; apt-get install -qy --no-install-recommends $BUILD_DEPS && \
groupadd _unbound && \ groupadd _unbound && \
useradd -g _unbound -s /etc -d /dev/null _unbound && \ useradd -g _unbound -s /etc -d /dev/null _unbound && \
./configure --prefix=/opt/unbound --with-pthreads \ ./configure --prefix=/opt/unbound --with-pthreads \
--with-username=_unbound --with-libevent --enable-event-api && \ --with-username=_unbound --with-libevent && \
make -j"$(getconf _NPROCESSORS_ONLN)" install && \ make -j"$(getconf _NPROCESSORS_ONLN)" install && \
mv /opt/unbound/etc/unbound/unbound.conf /opt/unbound/etc/unbound/unbound.conf.example && \ mv /opt/unbound/etc/unbound/unbound.conf /opt/unbound/etc/unbound/unbound.conf.example && \
apt-get -qy purge $BUILD_DEPS && apt-get -qy autoremove && \ apt-get -qy purge $BUILD_DEPS && apt-get -qy autoremove && \