Currently, Flink users turn to two different places when looking for "official" community Docker images.
- https://github.com/docker-flink/docker-flink (Flink community maintained, no official Apache releases) or https://hub.docker.com/_/flink/
- The tooling and Dockerfile in the flink-container component
While users should turn to the Flink images on Docker Hub in general, the flink-container component is used by many users, because it contains some tooling to build images for the StandaloneJobClusterEntrypoint. Overall, this causes confusion for users and the community needs to maintain two Dockerfiles, which build Flink images FROM alpine or debian.
Therefore, I propose to change the tooling (build.sh) in flink-container to have only two options:
a) from-release, which uses `library/flink` as base image and basically only adds the user jar. (<--- for Flink users)
b) from-local-dist, which also uses `library/flink` as base image but replaces the flink-dist by the local flink-dist ( <--- for Flink developer)