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 11FROM golang:1.12
22
33RUN apt-get update && apt-get install -y --no-install-recommends \
4- bzip2 \
5- unzip \
4+ bzip2 \
5+ unzip \
66 && rm -rf /var/lib/apt/lists/*
77
88ENV PROTOBUF_VER 3.8.0
@@ -20,5 +20,8 @@ RUN set -ex \
2020 && go get github.com/golang/protobuf/protoc-gen-go \
2121 && mkdir protobuf && cd protobuf \
2222 && 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/ \
2427 && cd .. && rm -rf protobuf
You can’t perform that action at this time.
0 commit comments