@@ -35,14 +35,6 @@ RUN apt-get update && apt-get install -y \
35
35
--no-install-recommends && \
36
36
rm -rf /var/lib/apt/lists/*
37
37
38
- # Install a more recent release of protoc (protobuf-compiler in jammy is 4 years old and misses some features)
39
- ENV PROTOC_VER="25.2"
40
- RUN cd /tmp && \
41
- curl -sSL https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VER}/protoc-${PROTOC_VER}-linux-x86_64.zip -o protoc.zip && \
42
- unzip protoc.zip && \
43
- cp bin/protoc /usr/bin/protoc && \
44
- rm -rf *
45
-
46
38
# Install rust using rustup
47
39
ARG CHANNEL
48
40
ENV RUSTUP_VER="1.26.0" \
@@ -60,17 +52,25 @@ RUN chmod a+X /root
60
52
61
53
# Convenience list of versions and variables for compilation later on
62
54
# This helps continuing manually if anything breaks.
63
- ENV SSL_VER="1.1.1q " \
55
+ ENV SSL_VER="1.1.1w " \
64
56
CURL_VER="8.4.0" \
65
57
ZLIB_VER="1.3.1" \
66
58
PQ_VER="11.12" \
67
- SQLITE_VER="3430100" \
59
+ SQLITE_VER="3450100" \
60
+ PROTOBUF_VER="25.2" \
68
61
CC=musl-gcc \
69
62
PREFIX=/musl \
70
63
PATH=/usr/local/bin:/root/.cargo/bin:$PATH \
71
64
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig \
72
65
LD_LIBRARY_PATH=$PREFIX
73
66
67
+ # Install a more recent release of protoc (protobuf-compiler in jammy is 4 years old and misses some features)
68
+ RUN cd /tmp && \
69
+ curl -sSL https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOBUF_VER}/protoc-${PROTOBUF_VER}-linux-x86_64.zip -o protoc.zip && \
70
+ unzip protoc.zip && \
71
+ cp bin/protoc /usr/bin/protoc && \
72
+ rm -rf *
73
+
74
74
# Set up a prefix for musl build libraries, make the linker's job of finding them easier
75
75
# Primarily for the benefit of postgres.
76
76
# Lastly, link some linux-headers for openssl 1.1 (not used herein)
@@ -120,7 +120,7 @@ RUN curl -sSL https://ftp.postgresql.org/pub/source/v$PQ_VER/postgresql-$PQ_VER.
120
120
cd .. && rm -rf postgresql-$PQ_VER
121
121
122
122
# Build libsqlite3 using same configuration as the alpine linux main/sqlite package
123
- RUN curl -sSL https://www.sqlite.org/2023 /sqlite-autoconf-$SQLITE_VER.tar.gz | tar xz && \
123
+ RUN curl -sSL https://www.sqlite.org/2024 /sqlite-autoconf-$SQLITE_VER.tar.gz | tar xz && \
124
124
cd sqlite-autoconf-$SQLITE_VER && \
125
125
CFLAGS="-DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_RTREE -DSQLITE_USE_URI -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_JSON1" \
126
126
CC="musl-gcc -fPIC -pie" \
0 commit comments