Skip to content

changes for build modification and protoc-plugin #1481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions net/grpc/gateway/docker/protoc_plugin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ FROM grpcweb/prereqs
ARG MAKEFLAGS=-j8

RUN apt-get -qq update && apt-get -qq install -y \
autoconf \
automake \
cmake \
build-essential \
curl \
git \
libtool \
libssl-dev \
make \
zip
zip


WORKDIR /github/grpc-web/third_party/protobuf
RUN cmake . -DCMAKE_CXX_STANDARD=17
RUN cmake --build .


RUN cd /github/grpc-web/javascript/net/grpc/web/generator && \
make protoc-gen-grpc-web


WORKDIR /github/grpc-web

RUN cd ./third_party/protobuf && \
./autogen.sh && \
./configure && \
make && \
make install && \
ldconfig

RUN cd ./javascript/net/grpc/web/generator && \
make protoc-gen-grpc-web
2 changes: 1 addition & 1 deletion scripts/init_submodules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ set -ex

cd "$(dirname "$0")"/..
git submodule --quiet update --init --recursive
(cd third_party/protobuf && git checkout tags/v3.15.6)
(cd third_party/protobuf && git checkout tags/v27.1)