mirror of https://github.com/grpc/grpc-web.git
commit
9f5cb2f7ad
2
Makefile
2
Makefile
|
@ -10,7 +10,7 @@ GRPC_INC := $(ROOT_DIR)/third_party/grpc/include
|
|||
GRPC_SRC := $(ROOT_DIR)/third_party/grpc
|
||||
GRPC_LIB := $(ROOT_DIR)/third_party/grpc/libs/opt
|
||||
|
||||
all: clean package package_static
|
||||
all: clean package_static
|
||||
|
||||
protos:
|
||||
cd "$(ROOT_DIR)" && LD_LIBRARY_PATH="$(PROTO_LIB):$(GRPC_LIB)" "$(PROTOC)" \
|
||||
|
|
|
@ -16,8 +16,6 @@ FROM ubuntu:16.04
|
|||
|
||||
ARG MAKEFLAGS=-j8
|
||||
|
||||
COPY . /github/grpc-web
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
autoconf \
|
||||
automake \
|
||||
|
@ -32,6 +30,8 @@ RUN apt-get update && apt-get install -y \
|
|||
nginx \
|
||||
zip
|
||||
|
||||
RUN git clone https://github.com/grpc/grpc-web /github/grpc-web
|
||||
|
||||
RUN cd /github/grpc-web && \
|
||||
./scripts/init_submodules.sh
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
FROM grpc-web:prereqs
|
||||
|
||||
COPY net/grpc/gateway/examples/echo/nginx_simple.conf \
|
||||
RUN cp /github/grpc-web/net/grpc/gateway/examples/echo/nginx_simple.conf \
|
||||
/etc/nginx/nginx.conf
|
||||
|
||||
RUN cd /github/grpc-web && \
|
||||
|
|
|
@ -39,7 +39,7 @@ RUN update-alternatives \
|
|||
RUN update-alternatives \
|
||||
--install /usr/bin/gcc gcc /usr/bin/gcc-4.6 40 \
|
||||
--slave /usr/bin/g++ g++ /usr/bin/g++-4.6
|
||||
COPY . /github/grpc-web
|
||||
RUN git clone https://github.com/grpc/grpc-web /github/grpc-web
|
||||
RUN cd /github/grpc-web/third_party/grpc && \
|
||||
make
|
||||
RUN cd /github/grpc-web && \
|
||||
|
|
Loading…
Reference in New Issue