add libsodium
This commit is contained in:
parent
aa9dee482f
commit
36a4f96ed1
@ -8,11 +8,12 @@ RUN \
|
||||
apk add openssl-dev && \
|
||||
apk add expat-dev && \
|
||||
apk add libevent-dev && \
|
||||
apk add libsodium-dev && \
|
||||
mkdir build && \
|
||||
cd build && \
|
||||
git clone https://github.com/NLnetLabs/unbound.git && \
|
||||
cd unbound && \
|
||||
./configure --with-libnghttp2 --with-libevent --prefix /opt/unbound && \
|
||||
./configure --with-libsodium --with-libnghttp2 --with-libevent --enable-sha2 --enable-dnscrypt ---prefix /opt/unbound && \
|
||||
make && \
|
||||
make install
|
||||
|
||||
@ -26,6 +27,7 @@ RUN \
|
||||
apk add --no-cache nghttp2-libs && \
|
||||
apk add --no-cache expat && \
|
||||
apk add --no-cache libevent && \
|
||||
apk add --no-cache libsodium && \
|
||||
adduser -D unbound && \
|
||||
mv /opt/unbound/etc/unbound/unbound.conf /opt/unbound/etc/unbound/unbound.conf-dist && \
|
||||
ln -s /opt/unbound/etc/unbound /etc/unbound
|
||||
|
Loading…
x
Reference in New Issue
Block a user