[jira] [Created] (FLINK-12546) Base Docker images on `library/flink`

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-12546) Base Docker images on `library/flink`

Shang Yuanchun (Jira)
Konstantin Knauf created FLINK-12546:
----------------------------------------

             Summary: Base Docker images on `library/flink`
                 Key: FLINK-12546
                 URL: https://issues.apache.org/jira/browse/FLINK-12546
             Project: Flink
          Issue Type: Improvement
          Components: Deployment / Docker
    Affects Versions: 1.8.0
            Reporter: Konstantin Knauf


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)








--
This message was sent by Atlassian JIRA
(v7.6.3#76005)