Changed python version to 3.11 and fixed confluent-kafka import error
This commit is contained in:
parent
e85933e96d
commit
f4e7321b86
5 changed files with 30 additions and 5 deletions
|
|
@ -1,8 +1,13 @@
|
|||
FROM python:3.8-slim
|
||||
FROM python:3.11
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY . .
|
||||
RUN apt update
|
||||
RUN apt-get install -y libc-dev libffi-dev gcc
|
||||
RUN apt update && apt -y install software-properties-common gcc
|
||||
RUN git clone https://github.com/edenhill/librdkafka
|
||||
RUN cd librdkafka && ./configure && make && make install && ldconfig
|
||||
|
||||
RUN pip install -r ./deploy/requirements_bigquery.txt
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,13 @@
|
|||
FROM python:3.8-slim
|
||||
FROM python:3.11
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY . .
|
||||
RUN apt update
|
||||
RUN apt-get install -y libc-dev libffi-dev gcc
|
||||
RUN apt update && apt -y install software-properties-common gcc
|
||||
RUN git clone https://github.com/edenhill/librdkafka
|
||||
RUN cd librdkafka && ./configure && make && make install && ldconfig
|
||||
|
||||
RUN pip install -r ./deploy/requirements_clickhouse.txt
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,13 @@
|
|||
FROM python:3.8-slim
|
||||
FROM python:3.11
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY . .
|
||||
RUN apt update
|
||||
RUN apt-get install -y libc-dev libffi-dev gcc
|
||||
RUN apt update && apt -y install software-properties-common gcc
|
||||
RUN git clone https://github.com/edenhill/librdkafka
|
||||
RUN cd librdkafka && ./configure && make && make install && ldconfig
|
||||
|
||||
RUN pip install -r ./deploy/requirements_pg.txt
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,13 @@
|
|||
FROM python:3.8-slim
|
||||
FROM python:3.11
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY . .
|
||||
RUN apt update
|
||||
RUN apt-get install -y libc-dev libffi-dev gcc
|
||||
RUN apt update && apt -y install software-properties-common gcc
|
||||
RUN git clone https://github.com/edenhill/librdkafka
|
||||
RUN cd librdkafka && ./configure && make && make install && ldconfig
|
||||
|
||||
RUN pip install -r ./deploy/requirements_redshift.txt
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,13 @@
|
|||
FROM python:3.8-slim
|
||||
FROM python:3.11
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY . .
|
||||
RUN apt update
|
||||
RUN apt-get install -y libc-dev libffi-dev gcc
|
||||
RUN apt update && apt -y install software-properties-common gcc
|
||||
RUN git clone https://github.com/edenhill/librdkafka
|
||||
RUN cd librdkafka && ./configure && make && make install && ldconfig
|
||||
|
||||
RUN pip install -r ./deploy/requirements_snowflake.txt
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue