From commits-return-7466-archive-asf-public=cust-asf.ponee.io@pulsar.incubator.apache.org Tue May 1 02:04:14 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 5BF65180675 for ; Tue, 1 May 2018 02:04:14 +0200 (CEST) Received: (qmail 8363 invoked by uid 500); 1 May 2018 00:04:13 -0000 Mailing-List: contact commits-help@pulsar.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.incubator.apache.org Delivered-To: mailing list commits@pulsar.incubator.apache.org Received: (qmail 8354 invoked by uid 99); 1 May 2018 00:04:13 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 May 2018 00:04:13 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id DBCAF80A00; Tue, 1 May 2018 00:04:12 +0000 (UTC) Date: Tue, 01 May 2018 00:04:12 +0000 To: "commits@pulsar.apache.org" Subject: [incubator-pulsar] branch master updated: Fix Golang setup in Dockerfile (#1690) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <152513305279.30655.3754245476226492752@gitbox.apache.org> From: mmerli@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-pulsar X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 1e0e12a72fb978abc04797b049dada100d8d0832 X-Git-Newrev: f5d95028dc3953c1ed89fb0a114b18528da76715 X-Git-Rev: f5d95028dc3953c1ed89fb0a114b18528da76715 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. mmerli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git The following commit(s) were added to refs/heads/master by this push: new f5d9502 Fix Golang setup in Dockerfile (#1690) f5d9502 is described below commit f5d95028dc3953c1ed89fb0a114b18528da76715 Author: Luc Perkins AuthorDate: Mon Apr 30 17:04:10 2018 -0700 Fix Golang setup in Dockerfile (#1690) * When preparing pulsar-build Docker image, ensure apt-get update is not cached * add Go setup to Dockerfile for website build * update PATH * set proper env vars * re-add golang install to main apt-get statement --- build/docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/docker/Dockerfile b/build/docker/Dockerfile index 35d04a5..7a1cfff 100644 --- a/build/docker/Dockerfile +++ b/build/docker/Dockerfile @@ -54,7 +54,9 @@ RUN rvm install 2.4.1 RUN wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py RUN pip install pdoc -# Install Protobuf doc generator +# Install Protobuf doc generator (requires Go) +ENV GOPATH "$HOME/go" +ENV PATH "/usr/lib/go-1.10/bin:$GOPATH/bin:$PATH" RUN go get -u github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc # Build the patched protoc -- To stop receiving notification emails like this one, please contact mmerli@apache.org.