From e3db295eb95e92fd30898c11b820048b4d55efa5 Mon Sep 17 00:00:00 2001 From: Jan De Landtsheer Date: Sat, 16 Aug 2025 20:38:45 +0200 Subject: [PATCH] Add static OpenSSL libraries for Rust musl builds - Add openssl-libs-static package to both Dockerfiles - Add pkgconfig for proper SSL library detection - Fixes mycelium compilation error with missing -lssl and -lcrypto --- build/Dockerfile.alpine | 2 ++ build/Dockerfile.cached | 2 ++ 2 files changed, 4 insertions(+) diff --git a/build/Dockerfile.alpine b/build/Dockerfile.alpine index bce2142..1888b70 100644 --- a/build/Dockerfile.alpine +++ b/build/Dockerfile.alpine @@ -32,6 +32,8 @@ RUN apk add --no-cache \ linux-lts \ elfutils-dev \ openssl-dev \ + openssl-libs-static \ + pkgconfig \ flex \ bison \ # Archive tools diff --git a/build/Dockerfile.cached b/build/Dockerfile.cached index d10df76..49f6ef6 100644 --- a/build/Dockerfile.cached +++ b/build/Dockerfile.cached @@ -22,6 +22,8 @@ RUN apk add --no-cache \ linux-lts \ elfutils-dev \ openssl-dev \ + openssl-libs-static \ + pkgconfig \ flex \ bison \ # Archive tools