Skip to content

Commit 483db70

Browse files
vladimir-ddclaude
andauthored
fix(releasing): add libsasl2-2 runtime dep to Debian-based images (#24962)
fix(docker): add libsasl2-2 runtime dep to Debian-based images After fd766a0 switched rdkafka from gssapi-vendored (static) to gssapi (dynamic linking), the vector binary now requires libsasl2.so.2 at runtime. The Debian final stages in both the distribution and regression Dockerfiles were missing this package, causing the smoke-test RUN to fail with: /usr/bin/vector: error while loading shared libraries: libsasl2.so.2 Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f34e8d3 commit 483db70

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

distribution/docker/debian/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ LABEL org.opencontainers.image.documentation="https://vector.dev/docs"
1616

1717
# we want the latest versions of these
1818
# hadolint ignore=DL3008
19-
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates tzdata systemd && rm -rf /var/lib/apt/lists/*
19+
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates tzdata systemd libsasl2-2 && rm -rf /var/lib/apt/lists/*
2020

2121
COPY --from=builder /usr/bin/vector /usr/bin/vector
2222
COPY --from=builder /usr/share/vector /usr/share/vector

regression/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
1414
# TARGET
1515
#
1616
FROM docker.io/debian:trixie-slim@sha256:c85a2732e97694ea77237c61304b3bb410e0e961dd6ee945997a06c788c545bb
17-
RUN apt-get update && apt-get dist-upgrade -y && apt-get -y --no-install-recommends install zlib1g ca-certificates && rm -rf /var/lib/apt/lists/*
17+
RUN apt-get update && apt-get dist-upgrade -y && apt-get -y --no-install-recommends install zlib1g ca-certificates libsasl2-2 && rm -rf /var/lib/apt/lists/*
1818
COPY --from=builder /vector/vector /usr/bin/vector
1919
RUN mkdir --parents --mode=0777 /var/lib/vector
2020

0 commit comments

Comments
 (0)