Skip to content

Commit 13df210

Browse files
committed
dockerfile: add libsasl2-modules-gssapi-mit and krb5-user
libsasl2-modules-gssapi-mit is needed by librdkafka to use the following configurations for authentication with Kafka: ``` rdkafka.security.protocol SASL_SSL rdkafka.sasl.mechanism GSSAPI ``` krb5-user is needed by librdkafka to invoke `kinit` to obtains ticket-granting tickets These changes _cannot_ be added to the production image target because librdkafka uses the `system` call to invoke `kinit`, the distroless base does not have a shell, and we are not going to add it. Signed-off-by: Ryan Hall <[email protected]> Signed-off-by: Bradley Laney <[email protected]>
1 parent ca2a6a5 commit 13df210

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dockerfiles/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ RUN echo "deb http://deb.debian.org/debian bookworm-backports main" >> /etc/apt/
239239
libpsl5 \
240240
libbrotli1 \
241241
libsasl2-2 \
242+
libsasl2-modules-gssapi-mit \
243+
krb5-user \
242244
pkg-config \
243245
libpq5 \
244246
libsystemd0/bookworm-backports \

0 commit comments

Comments
 (0)