Skip to content

Commit 6bd7e46

Browse files
Merge branch 'master' into fix-int64-precision
2 parents d1f6780 + 70268fa commit 6bd7e46

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

net/grpc/gateway/docker/prereqs/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ COPY ./MODULE.bazel.lock ./MODULE.bazel.lock
7878
COPY ./.bazelrc ./.bazelrc
7979
COPY ./javascript/net/grpc/web/generator javascript/net/grpc/web/generator
8080

81+
# Pre-build the protobuf compiler lib so the following plugin build can reuse Bazel cache.
82+
RUN bazel build "@com_google_protobuf//:protoc_lib"
83+
8184
RUN bazel build javascript/net/grpc/web/generator:protoc-gen-grpc-web && \
8285
cp $(bazel info bazel-genfiles)/javascript/net/grpc/web/generator/protoc-gen-grpc-web \
8386
/usr/local/bin/protoc-gen-grpc-web

0 commit comments

Comments
 (0)