From 7938ff94f71223fce774a521da920baf2dbe672f Mon Sep 17 00:00:00 2001 From: Mark Mandel Date: Mon, 18 Dec 2017 16:34:47 -0800 Subject: [PATCH] Starting work on #7 Dockerfile now has all the grpc plugins. --- build/build-image/Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/build/build-image/Dockerfile b/build/build-image/Dockerfile index 5e8d64e12d..e09a1628d6 100644 --- a/build/build-image/Dockerfile +++ b/build/build-image/Dockerfile @@ -14,7 +14,7 @@ FROM golang:1.9.2 -RUN apt-get update && apt-get install -y wget unzip bash-completion rsync +RUN apt-get update && apt-get install -y wget unzip bash-completion rsync autoconf automake libtool make g++ WORKDIR / @@ -39,6 +39,15 @@ RUN mkdir -p /tmp/protoc && \ cd /tmp && \ rm -r /tmp/protoc +# install all the plugins +ENV GRPC_VER v1.8.x +RUN git clone -b ${GRPC_VER} --depth=3 https://github.com/grpc/grpc && \ + cd grpc && \ + git submodule update --init && \ + make && \ + make install && \ + make clean + # install go tooling for building and testing RUN go get -u github.com/golang/dep/cmd/dep && \ go get -u github.com/alecthomas/gometalinter && \