Dockerfile 464 B

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