From 3096e6a36e937c19212e897fd932dd4a29490187 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Wed, 2 Jul 2025 12:41:49 +0000 Subject: [PATCH] alpine 3.22 Don't install just-built openssl into the build environment library directories to avoid breaking libcurl. Signed-off-by: Joe Groocock --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fa654c9..66b0c9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ ARG LDFLAGS="$CFLAGS -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -FROM spritsail/alpine:3.20 AS builder +FROM spritsail/alpine:3.22 AS builder RUN apk add --no-cache \ autoconf \ @@ -233,7 +233,6 @@ RUN curl -sSL https://openssl.org/source/openssl-${OPENSSL_VER}.tar.gz \ && make DESTDIR="$DESTDIR" \ install_sw \ install_ssldirs \ - && make install_sw install_ssldirs \ && cp -aP "$DESTDIR"/usr/lib/*.so* "$OUTPUT/usr/lib" \ && sed -i "s@prefix=/usr@prefix=$DESTDIR/usr@g" "$DESTDIR"/usr/lib/pkgconfig/*.pc