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

DBZ-6642 Upgrade kcctl to 1.0.0.Beta3 #341

Merged
merged 1 commit into from
Jul 11, 2023
Merged
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
9 changes: 6 additions & 3 deletions tooling/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
FROM fedora:35 AS kcat
RUN dnf -y install gcc which gcc-c++ wget make git cmake
ENV KCAT_VERSION=1.7.0

RUN dnf -y install cyrus-sasl-devel libcurl-devel libzstd-devel zlib-devel openssl-devel krb5-devel
RUN git clone https://github.com/edenhill/kcat -b $KCAT_VERSION --single-branch && \
cd kcat && \
./bootstrap.sh

FROM fedora:35
ENV KCCTL_VERSION=1.0.0.Beta3

RUN dnf -y install jq httpie mycli pgcli &&\
dnf clean all &&\
curl -SL https://github.com/kcctl/kcctl/releases/download/1.0.0-early-access/kcctl-1.0.0-early-access-linux-x86_64.tar.gz | tar -zx &&\
mv kcctl-1.0.0-SNAPSHOT-linux-x86_64/bin/kcctl /usr/bin &&\
rm -r kcctl-1.0.0-SNAPSHOT-linux-x86_64*
curl -SL https://github.com/kcctl/kcctl/releases/download/v$KCCTL_VERSION/kcctl-$KCCTL_VERSION-linux-x86_64.tar.gz | tar -zx &&\
mv kcctl-$KCCTL_VERSION-linux-x86_64/bin/kcctl /usr/bin &&\
rm -r kcctl-$KCCTL_VERSION-linux-x86_64*
COPY --from=kcat /kcat/kcat /usr/bin/kcat
RUN ln -s /usr/bin/kcat /usr/bin/kafkacat

Expand Down