aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.linux
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-09-23 21:55:38 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-09-23 21:55:38 -0500
commitcef9be3d020ec3be23f936d378f2578eeb0b6229 (patch)
treee83977d81d33229b0983361aa573e84107966507 /Dockerfile.linux
parent6239f949feb024abcde7b1f204b59bf59d19bc54 (diff)
parent87b151802375c7d7e2ae5432dc36dc0372b2507a (diff)
downloadmonzero-gui-cef9be3d020ec3be23f936d378f2578eeb0b6229.tar.gz
monzero-gui-cef9be3d020ec3be23f936d378f2578eeb0b6229.tar.xz
monzero-gui-cef9be3d020ec3be23f936d378f2578eeb0b6229.zip
Merge pull request #3696
87b1518 Docker: fix missing unbound on Linux (selsta)
Diffstat (limited to 'Dockerfile.linux')
-rw-r--r--Dockerfile.linux22
1 files changed, 21 insertions, 1 deletions
diff --git a/Dockerfile.linux b/Dockerfile.linux
index 2d1bba30..5d7ece4f 100644
--- a/Dockerfile.linux
+++ b/Dockerfile.linux
@@ -169,7 +169,27 @@ RUN wget https://www.openssl.org/source/openssl-1.1.1g.tar.gz && \
tar -xzf openssl-1.1.1g.tar.gz && \
rm openssl-1.1.1g.tar.gz && \
cd openssl-1.1.1g && \
- ./config no-asm no-shared no-zlib-dynamic --openssldir=/usr && \
+ ./config no-asm no-shared no-zlib-dynamic --prefix=/usr --openssldir=/usr && \
+ make -j$THREADS && \
+ make -j$THREADS install && \
+ rm -rf $(pwd)
+
+RUN wget https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.bz2 && \
+ echo "2f9b6a580b94577b150a7d5617ad4643a4301a6616ff459307df3e225bcfbf40 expat-2.4.1.tar.bz2" | sha256sum -c && \
+ tar -xf expat-2.4.1.tar.bz2 && \
+ rm expat-2.4.1.tar.bz2 && \
+ cd expat-2.4.1 && \
+ ./configure --enable-static --disable-shared --prefix=/usr && \
+ make -j$THREADS && \
+ make -j$THREADS install && \
+ rm -rf $(pwd)
+
+RUN wget https://www.nlnetlabs.nl/downloads/unbound/unbound-1.13.2.tar.gz && \
+ echo "0a13b547f3b92a026b5ebd0423f54c991e5718037fd9f72445817f6a040e1a83 unbound-1.13.2.tar.gz" | sha256sum -c && \
+ tar -xzf unbound-1.13.2.tar.gz && \
+ rm unbound-1.13.2.tar.gz && \
+ cd unbound-1.13.2 && \
+ ./configure --disable-shared --enable-static --without-pyunbound --with-libexpat=/usr --with-ssl=/usr --with-libevent=no --without-pythonmodule --disable-flto --with-pthreads --with-libunbound-only --with-pic && \
make -j$THREADS && \
make -j$THREADS install && \
rm -rf $(pwd)