Sign inSign up

xmig/py-flink

By xmig

Updated over 3 years ago

Flink + pyflink. Everythin need for the beginning. Python 3.9 based. asyncio, kafka, pandas

Image
0

879

xmig/py-flink repository overview

Flink + Python 3.9

Thanks wirelessr/pyflink for the base version


RUN apt-get update -y && \
    apt-get install -y build-essential libssl-dev zlib1g-dev libbz2-dev libffi-dev
RUN apt-get update -y && apt-get install -y liblzma-dev

RUN wget https://www.python.org/ftp/python/3.9.9/Python-3.9.9.tgz && \
    tar -xvf Python-3.9.9.tgz && \
    cd Python-3.9.9 && \
    ./configure --without-tests --enable-shared && \
    make -j6 && \
    make install && \
    ldconfig /usr/local/lib && \
    cd .. && rm -f Python-3.9.9.tgz && rm -rf Python-3.9.9 && \
    ln -s /usr/local/bin/python3 /usr/local/bin/python

RUN pip3 install apache-flink backports.lzma \
    pandas async-timeout asyncio websockets aiokafka orjson

Tag summary

Content type

Image

Digest

sha256:9cef7e9cc

Size

1.4 GB

Last updated

over 3 years ago

docker pull xmig/py-flink