diff options
| author | selsta <selsta@sent.at> | 2021-09-12 20:55:29 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2021-09-12 20:55:29 +0200 |
| commit | 87b151802375c7d7e2ae5432dc36dc0372b2507a (patch) | |
| tree | 612ad7ea2d033086423165b9dcff7e5c20d1beef /Dockerfile.linux | |
| parent | 96762ebf0980bef4aee29beece585bc99ea02ec7 (diff) | |
| download | monzero-gui-87b151802375c7d7e2ae5432dc36dc0372b2507a.tar.gz monzero-gui-87b151802375c7d7e2ae5432dc36dc0372b2507a.tar.xz monzero-gui-87b151802375c7d7e2ae5432dc36dc0372b2507a.zip | |
Docker: fix missing unbound on Linux
Diffstat (limited to 'Dockerfile.linux')
| -rw-r--r-- | Dockerfile.linux | 22 |
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) |
