Mercurial > hg > Docker > GRPCTest
view Dockerfile @ 7:4a4b9a3837c7 default tip
...
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 23 May 2020 10:36:15 +0900 |
parents | 568ffe87c352 |
children |
line wrap: on
line source
FROM golang:1.13.1 RUN apt-get update && apt-get install -y unzip # Install protobuf # @see https://github.com/yoshi42662/go-grpc/blob/master/server/Dockerfile RUN mkdir -p /tmp/protoc && \ curl -L https://github.com/protocolbuffers/protobuf/releases/download/v3.10.0/protoc-3.10.0-linux-x86_64.zip > /tmp/protoc/protoc.zip && \ cd /tmp/protoc && \ unzip protoc.zip && \ cp /tmp/protoc/bin/protoc /usr/local/bin && \ chmod go+rx /usr/local/bin/protoc && \ cd /tmp && \ rm -r /tmp/protoc WORKDIR /study-grpc COPY . /study-grpc