- FROM reg.cestong.com.cn/cecf/flink:v1.18.0
- # install python3 and pip3
- RUN apt-get update -y && \
- apt-get install -y python3 python3-pip python3-dev && rm -rf /var/lib/apt/lists/*
- RUN ln -s /usr/bin/python3 /usr/bin/python
- RUN pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
- # install PyFlink
- RUN pip3 install -U pip setuptools
- RUN pip3 install poetry
- RUN poetry config virtualenvs.in-project true
- RUN pip3 install apache-flink==1.18.0
|