File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
FROM golang:1.12
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
- bzip2 \
5
- unzip \
4
+ bzip2 \
5
+ unzip \
6
6
&& rm -rf /var/lib/apt/lists/*
7
7
8
8
ENV PROTOBUF_VER 3.8.0
@@ -20,5 +20,8 @@ RUN set -ex \
20
20
&& go get github.com/golang/protobuf/protoc-gen-go \
21
21
&& mkdir protobuf && cd protobuf \
22
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/ \
23
+ && 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/ \
24
27
&& cd .. && rm -rf protobuf
You can’t perform that action at this time.
0 commit comments