Merge pull request #2284 from crazy-max/fix-protoc-link

Fix protoc link
master
CrazyMax 2021-07-30 18:04:16 +02:00 committed by GitHub
commit e37dccd138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ RUN apt-get update && apt-get --no-install-recommends install -y \
ARG TARGETOS TARGETARCH ARG TARGETOS TARGETARCH
RUN set -e; \ RUN set -e; \
arch=$(echo $TARGETARCH | sed -e s/amd64/x86_64/ -e s/arm64/aarch_64/); \ arch=$(echo $TARGETARCH | sed -e s/amd64/x86_64/ -e s/arm64/aarch_64/); \
wget -q https://github.com/google/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-${TARGETOS}-${arch}.zip && unzip protoc-${PROTOC_VERSION}-${TARGETOS}-${arch}.zip -d /usr/local wget -q https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-${TARGETOS}-${arch}.zip && unzip protoc-${PROTOC_VERSION}-${TARGETOS}-${arch}.zip -d /usr/local
RUN git clone https://github.com/gogo/protobuf.git /go/src/github.com/gogo/protobuf \ RUN git clone https://github.com/gogo/protobuf.git /go/src/github.com/gogo/protobuf \
&& cd /go/src/github.com/gogo/protobuf \ && cd /go/src/github.com/gogo/protobuf \