feat: 升级 Monero 至 v0.18.5.4,更新 OpenSSL 和 unbound
This commit is contained in:
1 parent
596ffc1567
commit
693095a3eb
4 files changed
+15
-15
No files matched your search
+7
-7
@@ -10,12 +10,12 @@ RUN apk add --no-cache g++ gcc make cmake git linux-headers autoconf automake li
|
||||
ENV CFLAGS="-fPIC -O2" CXXFLAGS="-fPIC -O2"
|
||||
WORKDIR /deps
|
||||
|
||||
# OpenSSL 3.0.21(与 Monero v0.18.5.1 depends 对齐;Alpine 仓库只有 .so,须源码编静态)
|
||||
RUN wget -q https://github.com/openssl/openssl/releases/download/openssl-3.0.21/openssl-3.0.21.tar.gz && \
|
||||
tar xf openssl-3.0.21.tar.gz && cd openssl-3.0.21 && \
|
||||
# OpenSSL 3.0.22(与 Monero v0.18.5.4 depends 对齐;Alpine 仓库只有 .so,须源码编静态)
|
||||
RUN wget -q https://github.com/openssl/openssl/releases/download/openssl-3.0.22/openssl-3.0.22.tar.gz && \
|
||||
tar xf openssl-3.0.22.tar.gz && cd openssl-3.0.22 && \
|
||||
if [ "$(uname -m)" = aarch64 ]; then OSSL_T=linux-aarch64; else OSSL_T=linux-x86_64; fi && \
|
||||
./Configure no-shared no-tests --prefix=/usr --libdir=lib $OSSL_T && \
|
||||
make -j"$(nproc)" && make install_sw && cd / && rm -rf /deps/openssl-3.0.21*
|
||||
make -j"$(nproc)" && make install_sw && cd / && rm -rf /deps/openssl-3.0.22*
|
||||
|
||||
# libsodium 1.0.20
|
||||
RUN wget -q https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz && \
|
||||
@@ -35,9 +35,9 @@ RUN wget -q https://github.com/libexpat/libexpat/releases/download/R_2_6_4/expat
|
||||
./configure --enable-static --disable-shared --prefix=/usr && \
|
||||
make -j"$(nproc)" && make install && cd / && rm -rf /deps/expat-2.6.4*
|
||||
|
||||
# unbound 1.25.1(DNSSEC,与 Monero v0.18.5.1 depends 对齐)
|
||||
RUN wget -q https://www.nlnetlabs.nl/downloads/unbound/unbound-1.25.1.tar.gz && \
|
||||
tar xf unbound-1.25.1.tar.gz && cd unbound-1.25.1 && \
|
||||
# unbound 1.26.1(DNSSEC,与 Monero v0.18.5.4 depends 对齐)
|
||||
RUN wget -q https://www.nlnetlabs.nl/downloads/unbound/unbound-1.26.1.tar.gz && \
|
||||
tar xf unbound-1.26.1.tar.gz && cd unbound-1.26.1 && \
|
||||
./configure --disable-shared --enable-static --prefix=/usr --with-libexpat=/usr --with-ssl=/usr \
|
||||
--with-libevent=no --without-pythonmodule --without-pyunbound --with-libunbound-only --with-pic && \
|
||||
make -j"$(nproc)" && make install && cd / && rm -rf /deps/unbound*
|
||||
|
||||
Reference in new issue
Block a user