mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-19 05:07:54 +00:00
Update pq, zlib and openssl versions.
The old zlib download URL returns 404 and breaks the build. OpenSSL 1.1.1 is almost EOL.
This commit is contained in:
parent
295cd5e4b1
commit
adec1fdca4
@ -1,8 +1,8 @@
|
||||
FROM ghcr.io/cross-rs/aarch64-unknown-linux-musl:latest
|
||||
|
||||
ENV ZLIB_VERSION=1.2.13
|
||||
ENV POSTGRESQL_VERSION=11.20
|
||||
ENV OPENSSL_VERSION=1.1.1t
|
||||
ENV ZLIB_VERSION=1.3
|
||||
ENV POSTGRESQL_VERSION=11.21
|
||||
ENV OPENSSL_VERSION=3.1.2
|
||||
ENV OPENSSL_TARGET=linux-aarch64
|
||||
ENV MUSL_PREFIX=aarch64-linux-musl
|
||||
ENV POSTGRESQL_HOST=aarch64-unknown-linux-musl
|
||||
|
@ -1,8 +1,8 @@
|
||||
FROM ghcr.io/cross-rs/armv7-unknown-linux-musleabihf:latest
|
||||
|
||||
ENV ZLIB_VERSION=1.2.13
|
||||
ENV POSTGRESQL_VERSION=11.20
|
||||
ENV OPENSSL_VERSION=1.1.1t
|
||||
ENV ZLIB_VERSION=1.3
|
||||
ENV POSTGRESQL_VERSION=11.21
|
||||
ENV OPENSSL_VERSION=3.1.2
|
||||
ENV OPENSSL_TARGET=linux-generic32
|
||||
ENV MUSL_PREFIX=arm-linux-musleabihf
|
||||
ENV POSTGRESQL_HOST=armv7-unknown-linux-musleabihf
|
||||
|
@ -1,8 +1,8 @@
|
||||
FROM ghcr.io/cross-rs/x86_64-unknown-linux-musl:latest
|
||||
|
||||
ENV ZLIB_VERSION=1.2.13
|
||||
ENV POSTGRESQL_VERSION=11.20
|
||||
ENV OPENSSL_VERSION=1.1.1t
|
||||
ENV ZLIB_VERSION=1.3
|
||||
ENV POSTGRESQL_VERSION=11.21
|
||||
ENV OPENSSL_VERSION=3.1.2
|
||||
ENV OPENSSL_TARGET=linux-x86_64
|
||||
ENV MUSL_PREFIX=x86_64-linux-musl
|
||||
|
||||
@ -33,7 +33,7 @@ RUN echo "Building libpq" && \
|
||||
cd /tmp && \
|
||||
curl -fLO "https://ftp.postgresql.org/pub/source/v$POSTGRESQL_VERSION/postgresql-$POSTGRESQL_VERSION.tar.gz" && \
|
||||
tar xzf "postgresql-$POSTGRESQL_VERSION.tar.gz" && cd "postgresql-$POSTGRESQL_VERSION" && \
|
||||
CC=$MUSL_PREFIX-gcc CPPFLAGS="-I/usr/local/$MUSL_PREFIX/include -I/usr/local/$MUSL_PREFIX-target/include" LDFLAGS="-L/usr/local/$MUSL_PREFIX/lib -L/usr/local/$MUSL_PREFIX-target/lib" ./configure --with-openssl --without-readline --prefix=/usr/local/$MUSL_PREFIX-target && \
|
||||
CC=$MUSL_PREFIX-gcc CPPFLAGS="-I/usr/local/$MUSL_PREFIX/include -I/usr/local/$MUSL_PREFIX-target/include" LDFLAGS="-L/usr/local/$MUSL_PREFIX/lib -L/usr/local/$MUSL_PREFIX-target/lib -L/usr/local/$MUSL_PREFIX-target/lib64" ./configure --with-openssl --without-readline --prefix=/usr/local/$MUSL_PREFIX-target && \
|
||||
cd src/interfaces/libpq && make all-static-lib && make install-lib-static && \
|
||||
rm -r /tmp/*
|
||||
|
||||
@ -41,4 +41,4 @@ RUN echo "Building libpq" && \
|
||||
RUN objcopy --redefine-sym unicode_to_utf8=unicode_to_utf8_rename /usr/local/$MUSL_PREFIX-target/lib/libpq.a
|
||||
|
||||
|
||||
ENV PKG_CONFIG_PATH=/usr/local/$MUSL_PREFIX-target/lib/pkgconfig
|
||||
ENV PKG_CONFIG_PATH=/usr/local/$MUSL_PREFIX-target/lib/pkgconfig:/usr/local/$MUSL_PREFIX-target/lib64/pkgconfig
|
Loading…
Reference in New Issue
Block a user