Bump Bazel version -> 4.1.0 and Protobuf version -> 3.17.3

This commit is contained in:
Eryu Xia 2021-08-04 00:48:07 -07:00 committed by Stanley Cheung
parent 3c74b0da5c
commit ef0f44e1ce
3 changed files with 8 additions and 6 deletions

View File

@ -22,10 +22,10 @@ http_archive(
http_archive(
name = "com_google_protobuf",
sha256 = "efaf69303e01caccc2447064fc1832dfd23c0c130df0dc5fc98a13185bb7d1a7",
strip_prefix = "protobuf-678da4f76eb9168c9965afc2149944a66cd48546",
sha256 = "77ad26d3f65222fd96ccc18b055632b0bfedf295cb748b712a98ba1ac0b704b2",
strip_prefix = "protobuf-3.17.3",
urls = [
"https://github.com/google/protobuf/archive/678da4f76eb9168c9965afc2149944a66cd48546.tar.gz",
"https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protobuf-all-3.17.3.tar.gz",
],
)

View File

@ -14,13 +14,15 @@
FROM node:12-stretch
ARG PROTOBUF_VERSION=3.17.3
RUN apt-get -qq update && apt-get -qq install -y \
unzip
WORKDIR /tmp
RUN curl -sSL https://github.com/protocolbuffers/protobuf/releases/download/v3.15.6/\
protoc-3.15.6-linux-x86_64.zip -o protoc.zip && \
RUN curl -sSL https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOBUF_VERSION/\
protoc-$PROTOBUF_VERSION-linux-x86_64.zip -o protoc.zip && \
unzip -qq protoc.zip && \
cp ./bin/protoc /usr/local/bin/protoc

View File

@ -16,7 +16,7 @@ FROM grpcweb/common
ARG MAKEFLAGS=-j8
ARG BUILDIFIER_VERSION=1.0.0
ARG BAZEL_VERSION=3.7.0
ARG BAZEL_VERSION=4.1.0
RUN echo "\nloglevel=error\n" >> $HOME/.npmrc