'Generic Commit'
Some checks failed
dropshell-build / build (push) Failing after 51m54s

This commit is contained in:
Your Name
2025-06-14 18:17:57 +12:00
parent 091c1f0850
commit eeb5d44b73
8 changed files with 232 additions and 25 deletions

View File

@ -75,11 +75,19 @@ RUN curl -LO https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz &&
fi && \
./Configure no-shared no-dso no-tests no-async $OPENSSL_TARGET \
--prefix=/usr/local \
--openssldir=/usr/local/ssl \
-static -fPIC && \
make -j$(nproc) && \
make install_sw && \
cd / && rm -rf /tmp/openssl-${OPENSSL_VERSION} /tmp/openssl-${OPENSSL_VERSION}.tar.gz
# Set environment variables to help CMake and other tools find OpenSSL
ENV OPENSSL_ROOT_DIR=/usr/local \
OPENSSL_INCLUDE_DIR=/usr/local/include \
OPENSSL_CRYPTO_LIBRARY=/usr/local/lib/libcrypto.a \
OPENSSL_SSL_LIBRARY=/usr/local/lib/libssl.a \
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
# Build jsoncpp statically with musl - use stable version known to work with Drogon
ARG JSONCPP_VERSION=1.9.5
WORKDIR /tmp