We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d797f5 commit 54095c9Copy full SHA for 54095c9
Dockerfiles/CI/Dockerfile
@@ -1,8 +1,8 @@
1
FROM golang:1.12
2
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
- bzip2 \
5
- unzip \
+ bzip2 \
+ unzip \
6
&& rm -rf /var/lib/apt/lists/*
7
8
ENV PROTOBUF_VER 3.8.0
@@ -20,5 +20,8 @@ RUN set -ex \
20
&& go get github.com/golang/protobuf/protoc-gen-go \
21
&& mkdir protobuf && cd protobuf \
22
&& curl -LO https://github.com/google/protobuf/releases/download/v$PROTOBUF_VER/protoc-$PROTOBUF_VER-linux-x86_64.zip \
23
- && unzip protoc-$PROTOBUF_VER-linux-x86_64.zip && cp ./bin/* /bin/ \
+ && unzip protoc-$PROTOBUF_VER-linux-x86_64.zip \
24
+ && cp ./bin/* /bin/ \
25
+ # protoc will search for default includes in the path of the binary
26
+ && cp -r ./include /bin/ \
27
&& cd .. && rm -rf protobuf
0 commit comments