Following the instructions defined here: https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/deployment/resource-providers/standalone/docker/#enabling-python
When running `docker build .` with that example, I get the follow error:
#5 0.249 Get:1 http:#5 0.251 Get:2 http:#5 0.271 Get:3 http:#5 0.361 Get:4 http:#5 0.455 Get:5 http:#5 1.466 Fetched 8401 kB in 1s (6707 kB/s)
#5 1.466 Reading package lists...
#5 1.893 Reading package lists...
#5 2.300 Building dependency tree...
#5 2.416 Reading state information...
#5 2.493 Package python3.7 is not available, but is referred to by another package.
#5 2.493 This may mean that the package is missing, has been obsoleted, or
#5 2.493 is only available from another source
#5 2.545 E: Package 'python3.7' has no installation candidate
#5 2.545 E: Unable to locate package python3.7-dev
#5 2.545 E: Couldn't find any package by glob 'python3.7-dev'
#5 2.545 E: Couldn't find any package by regex 'python3.7-dev'
It could be that there is a different way to install python3.7 for Debian?
# install python3 and pip3
RUN apt-get update -y && \
apt-get install -y python3.7 python3-pip python3.7-dev && rm -rf /var/lib/apt/lists/*
RUN ln -s /usr/bin/python3 /usr/bin/python
# install Python Flink
RUN pip3 install apache-flink
I am attempting to establish a basic example pipeline with a Python WordCount example, using the FlinkRunner deployed to Docker via Docker Compose.