Skip to content

Commit

Permalink
Starting work on #7
Browse files Browse the repository at this point in the history
Dockerfile now has all the grpc plugins.
  • Loading branch information
markmandel committed Dec 19, 2017
1 parent 2580ab1 commit 0cdf6c6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build/build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 /

Expand All @@ -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 && \
Expand Down

0 comments on commit 0cdf6c6

Please sign in to comment.