You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Andrey Zagrebin (Jira)" <ji...@apache.org> on 2020/04/15 12:50:00 UTC

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

    [ https://issues.apache.org/jira/browse/FLINK-12546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17084054#comment-17084054 ] 

Andrey Zagrebin commented on FLINK-12546:
-----------------------------------------

I think [FLIP-111|https://cwiki.apache.org/confluence/display/FLINK/FLIP-111%3A+Docker+image+unification] (FLINK-17160) supersedes FLINK-12546 at the moment.

[FLIP-111|https://cwiki.apache.org/confluence/display/FLINK/FLIP-111%3A+Docker+image+unification] suggests to remove all Dockerfiles and build scripts from Flink repo and put more focus on how to run and extend the official docker image for users in [apache/flink-docker|https://github.com/apache/flink-docker].

Later, we want to consider how we can support developers to build a custom image from the local sources. Now developers could take the Dockerfile in [apache/flink-docker|https://github.com/apache/flink-docker] and its docs after FLIP-111 as an example to build a custom image.

> 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
>            Priority: Major
>              Labels: usability
>             Fix For: 1.11.0
>
>
> 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
(v8.3.4#803005)