Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5BE54200C32 for ; Thu, 9 Mar 2017 15:14:43 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5A6E7160B64; Thu, 9 Mar 2017 14:14:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9EACA160B84 for ; Thu, 9 Mar 2017 15:14:42 +0100 (CET) Received: (qmail 50932 invoked by uid 500); 9 Mar 2017 14:14:41 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 50782 invoked by uid 99); 9 Mar 2017 14:14:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2017 14:14:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 4914EC047B for ; Thu, 9 Mar 2017 14:14:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.452 X-Spam-Level: * X-Spam-Status: No, score=1.452 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id vEW0ipqwDy67 for ; Thu, 9 Mar 2017 14:14:40 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C146C61EF3 for ; Thu, 9 Mar 2017 14:14:39 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C1367E09F0 for ; Thu, 9 Mar 2017 14:14:38 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 19154243B2 for ; Thu, 9 Mar 2017 14:14:38 +0000 (UTC) Date: Thu, 9 Mar 2017 14:14:38 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-5635) Improve Docker tooling to make it easier to build images and launch Flink via Docker tools MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 09 Mar 2017 14:14:43 -0000 [ https://issues.apache.org/jira/browse/FLINK-5635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15903104#comment-15903104 ] ASF GitHub Bot commented on FLINK-5635: --------------------------------------- Github user iemejia commented on a diff in the pull request: https://github.com/apache/flink/pull/3494#discussion_r105171748 --- Diff: flink-contrib/docker-flink/Dockerfile --- @@ -36,22 +31,24 @@ ENV PATH $PATH:$FLINK_HOME/bin EXPOSE 8081 EXPOSE 6123 +# flink-dist can point to a directory or a tarball on the local system +ARG flink_dist=NOT_SET + # Install build dependencies and flink +ADD $flink_dist $FLINK_INSTALL_PATH RUN set -x && \ - mkdir -p $FLINK_INSTALL_PATH && \ - apk --update add --virtual build-dependencies curl && \ - curl -s $(curl -s https://www.apache.org/dyn/closer.cgi\?preferred\=true)flink/flink-${FLINK_VERSION}/flink-${FLINK_VERSION}-bin-hadoop${HADOOP_VERSION}-scala_${SCALA_VERSION}.tgz | \ --- End diff -- @patricklucas I'd prefer to prioritize the other JIRA since this is more important (having the official image available), these cleanups we can do them afterwards. And maybe try to go ahead with #3500. > Improve Docker tooling to make it easier to build images and launch Flink via Docker tools > ------------------------------------------------------------------------------------------ > > Key: FLINK-5635 > URL: https://issues.apache.org/jira/browse/FLINK-5635 > Project: Flink > Issue Type: Improvement > Components: Docker > Affects Versions: 1.2.0 > Reporter: Jamie Grier > Assignee: Patrick Lucas > > This is a bit of a catch-all ticket for general improvements to the Flink on Docker experience. > Things to improve: > - Make it possible to build a Docker image from your own flink-dist directory as well as official releases. > - Make it possible to override the image name so a user can more easily publish these images to their Docker repository > - Provide scripts that show how to properly run on Docker Swarm or similar environments with overlay networking (Kubernetes) without using host networking. > - Log to stdout rather than to files. > - Work properly with docker-compose for local deployment as well as production deployments (Swarm/k8s) -- This message was sent by Atlassian JIRA (v6.3.15#6346)