Skip to content

Commit 33e2a04

Browse files
authored
Update Dockerfile
1 parent 42ff720 commit 33e2a04

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build/Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
FROM python:3.9.13-bullseye
22
LABEL version="0.1"
33

4-
RUN apt update
5-
RUN apt install nano
4+
RUN apt-get update
5+
RUN apt-get install -y --no-install-recommends nano gcc git libssl-dev g++ make && \
6+
cd /tmp && git clone https://github.com/edenhill/librdkafka && \
7+
cd librdkafka && git checkout tags/v2.0.2 && \
8+
./configure && make && make install && \
9+
ldconfig && \
10+
cd ../ && rm -rf librdkafka
611

712
COPY requirements.txt requirements.txt
813
RUN pip install -r requirements.txt

0 commit comments

Comments
 (0)