Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add image with kafkacat + nodejs #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions kafkacat-node/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM solsson/kafkacat@sha256:2c539e4f58960ab7872976ebc664dd92de18cf27e7cbbeb296d654a2351f6ca4 \
as kafkcat-binary

FROM yolean/node@sha256:230b269710a1d09b9ebbdeeea0fc4e69ac1388ab71b0178452e817065f69c700

COPY --from=kafkcat-binary /usr/local/bin/kafkacat /usr/local/bin/kafkacat

RUN set -ex; \
runtimeDeps='libssl1.1 libsasl2-2'; \
export DEBIAN_FRONTEND=noninteractive; \
apt-get update && apt-get install -y $runtimeDeps --no-install-recommends; \
rm -rf /var/lib/apt/lists/*; \
rm /var/log/dpkg.log /var/log/apt/*.log; \
kafkacat -V