Skip to content

Commit

Permalink
Cut v0.0.44 release
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Kalashnykov <AndriyKalashnykov@gmail.com>
  • Loading branch information
AndriyKalashnykov committed Oct 27, 2023
1 parent 3342b49 commit 6608de3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 17 additions & 1 deletion Dockerfile.consumer
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
FROM golang:1.21.3-alpine as builder
RUN apk --no-cache add ca-certificates git gcc g++ libtool libc-dev musl-dev librdkafka-dev pkgconf libsasl cyrus-sasl
#RUN apk --no-cache add ca-certificates git gcc g++ libtool libc-dev musl-dev librdkafka-dev pkgconf libsasl cyrus-sasl
RUN apk --no-cache add ca-certificates git gcc g++ libtool libc-dev musl-dev pkgconf

ENV LIBRD_VER=2.3.0
RUN apk add --no-cache --virtual .make-deps bash make wget git gcc g++ && apk add --no-cache musl-dev zlib-dev openssl zstd-dev pkgconfig libc-dev && wget /~https://github.com/edenhill/librdkafka/archive/v${LIBRD_VER}.tar.gz && tar -xvf v${LIBRD_VER}.tar.gz && cd librdkafka-${LIBRD_VER} && ./configure --prefix /usr && make && make install && make clean && rm -rf librdkafka-${LIBRD_VER} && rm -rf v${LIBRD_VER}.tar.gz && apk del .make-deps
RUN export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig/
ENV PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig/

# Install librdkafka
# RUN echo " ------> Install librdkafka..."
# WORKDIR /home/
# RUN git clone /~https://github.com/confluentinc/librdkafka.git -b v2.3.0
# WORKDIR /home/librdkafka/
# RUN cmake -H. -B_cmake_build
# RUN cmake --build _cmake_build
# RUN cmake --build _cmake_build --target install

WORKDIR /app
COPY go.mod .
COPY go.sum .
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.0.43
v0.0.44

0 comments on commit 6608de3

Please sign in to comment.