mirror of
https://github.com/spritsail/plex-media-server.git
synced 2025-07-06 08:00: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:
@ -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 \
|
RUN apk add --no-cache \
|
||||||
autoconf \
|
autoconf \
|
||||||
@ -233,7 +233,6 @@ RUN curl -sSL https://openssl.org/source/openssl-${OPENSSL_VER}.tar.gz \
|
|||||||
&& make DESTDIR="$DESTDIR" \
|
&& make DESTDIR="$DESTDIR" \
|
||||||
install_sw \
|
install_sw \
|
||||||
install_ssldirs \
|
install_ssldirs \
|
||||||
&& make install_sw install_ssldirs \
|
|
||||||
&& cp -aP "$DESTDIR"/usr/lib/*.so* "$OUTPUT/usr/lib" \
|
&& cp -aP "$DESTDIR"/usr/lib/*.so* "$OUTPUT/usr/lib" \
|
||||||
&& sed -i "s@prefix=/usr@prefix=$DESTDIR/usr@g" "$DESTDIR"/usr/lib/pkgconfig/*.pc
|
&& sed -i "s@prefix=/usr@prefix=$DESTDIR/usr@g" "$DESTDIR"/usr/lib/pkgconfig/*.pc
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user