2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2025-07-06 16:10:56 +00:00

alpine 3.22

Don't install just-built openssl into the build environment library
directories to avoid breaking libcurl.

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
2025-07-02 12:41:49 +00:00
parent f22fdc53e5
commit 3096e6a36e

View File

@ -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