Skip to content

Commit c3eaea8

Browse files
committed
Add libsasl2-dev to the dev-tools image
This enables us to build Kafka with OIDC enabled which requires linking against libsasl2 and libcurl-openssl dynamically.
1 parent 1628459 commit c3eaea8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ FROM ghcr.io/rust-cross/rust-musl-cross:aarch64-musl AS musl_aarch64
44
FROM rust:1.91.0-slim-trixie AS build-base
55

66
# Prepopulate cargo index and install dependencies
7+
# libcurl4-openssl-dev and libsasl2-dev are require for building with the Kafka OIDC feature enabled.
78
RUN cargo search --limit=1 && \
89
apt update && apt upgrade -y && \
910
apt -y install --no-install-recommends \
@@ -12,6 +13,7 @@ RUN cargo search --limit=1 && \
1213
protobuf-compiler \
1314
libprotoc-dev \
1415
libcurl4-openssl-dev \
16+
libsasl2-dev \
1517
clang \
1618
cmake \
1719
llvm \

0 commit comments

Comments
 (0)