Skip to content

Commit

Permalink
Fix protoc-plugin build
Browse files Browse the repository at this point in the history
  • Loading branch information
stanley-cheung committed Jul 8, 2020
1 parent dfa6e47 commit 50e456a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,7 @@ services:
build:
context: ./
dockerfile: ./net/grpc/gateway/docker/protoc_plugin/Dockerfile
depends_on:
- prereqs
image: grpcweb/protoc-plugin

4 changes: 1 addition & 3 deletions net/grpc/gateway/docker/protoc_plugin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM debian:stretch
FROM grpcweb/prereqs

ARG MAKEFLAGS=-j8

Expand All @@ -29,8 +29,6 @@ RUN apt-get -qq update && apt-get -qq install -y \

WORKDIR /github/grpc-web

COPY . .

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

Expand Down

0 comments on commit 50e456a

Please sign in to comment.