build: pin protoc version and update protobuf + regenerate

This commit is contained in:
Christian Schwarz
2018-08-26 14:35:18 +02:00
parent ea0e3a29e4
commit cf01086df5
6 changed files with 332 additions and 101 deletions
+6 -1
View File
@@ -1,7 +1,12 @@
FROM golang:latest
RUN apt-get update && apt-get install -y \
python3-pip
python3-pip \
unzip
RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip
RUN echo "6003de742ea3fcf703cfec1cd4a3380fd143081a2eb0e559065563496af27807 protoc-3.6.1-linux-x86_64.zip" | sha256sum -c
RUN unzip -d /usr protoc-3.6.1-linux-x86_64.zip
ADD lazy.sh /tmp/lazy.sh
ADD docs/requirements.txt /tmp/requirements.txt