diff --git a/INCLUDED_LIBRARIES.md b/INCLUDED_LIBRARIES.md index 081a55d..2377ae3 100644 --- a/INCLUDED_LIBRARIES.md +++ b/INCLUDED_LIBRARIES.md @@ -51,6 +51,7 @@ | LZ4 | `v1.10.0` | | Apache Arrow / Parquet | `25.0.1` | | SQLite | `3.54.1` | +| FreeTDS | `1.5.21` | | wireguard-tools (`wg`, `wg-quick` CLI) | `v1.0.20260223` | The image includes position-independent static builds of these libraries. Protobuf and libxml2 enable zlib support, and LibDwarf enables compressed debug section support using zlib and Zstd. ZeroMQ enables CURVE security using static libsodium. CZMQ enables UUID support using static util-linux libuuid while disabling undeclared optional integrations. librdkafka includes SSL, zlib, Zstd, and bundled LZ4 support while disabling undeclared optional integrations. spdlog uses external fmt, glog uses gflags, and all Meta libraries share the same release tag. Apache Arrow is built with Parquet (including OpenSSL-based Parquet encryption) and Snappy, LZ4, zlib, and Zstd compression using only the pinned system dependencies above (`ARROW_DEPENDENCY_SOURCE=SYSTEM`), with the bundled jemalloc and mimalloc allocators disabled. Apache Thrift only builds its C++ library, and its headers sit next to fbthrift's under `include/thrift` without overlapping. diff --git a/debian13/Dockerfile b/debian13/Dockerfile index 4bd326e..adece39 100644 --- a/debian13/Dockerfile +++ b/debian13/Dockerfile @@ -829,6 +829,18 @@ RUN --mount=type=bind,from=sources,source=sqlite-autoconf-3540100.tar.gz,target= && cd .. \ && rm -rf src +RUN --mount=type=bind,from=sources,source=freetds-1.5.21.tar.gz,target=/tmp/freetds.tar.gz \ + mkdir src \ + && tar --extract --gzip --file=/tmp/freetds.tar.gz --directory=src --strip-components=1 \ + && cd src \ + && CFLAGS="-O2 -fPIC" ./configure --prefix=${PREFIX} --libdir=${PREFIX}/lib/$(gcc -dumpmachine) \ + --disable-shared --enable-static --with-openssl=${PREFIX} \ + --disable-odbc --disable-apps --disable-server --disable-pool --disable-libiconv \ + && make --jobs="$(nproc)" \ + && make install \ + && cd .. \ + && rm -rf src + COPY source-stack.cmake.in /tmp/ RUN mkdir -p ${PREFIX}/share/source-stack \ && sed "s|@MULTIARCH@|$(gcc -dumpmachine)|" /tmp/source-stack.cmake.in \ diff --git a/fetch-sources.sh b/fetch-sources.sh index 1b21710..1406bec 100755 --- a/fetch-sources.sh +++ b/fetch-sources.sh @@ -166,3 +166,5 @@ fetch sqlite-autoconf-3540100.tar.gz \ https://www.sqlite.org/2026/sqlite-autoconf-3540100.tar.gz fetch wireguard-tools-v1.0.20260223.tar.xz \ https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-v1.0.20260223.tar.xz +fetch freetds-1.5.21.tar.gz \ + https://www.freetds.org/files/stable/freetds-1.5.21.tar.gz