Skip to content

Commit 4bedc90

Browse files
Update dockerfile to build protoc plugin
1 parent 0e45b53 commit 4bedc90

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

net/grpc/gateway/docker/protoc_plugin/Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM ubuntu:14.04
15+
FROM debian:stretch
1616

1717
ARG MAKEFLAGS=-j8
1818

@@ -23,22 +23,16 @@ RUN apt-get -qq update && apt-get -qq install -y \
2323
curl \
2424
git \
2525
libtool \
26-
libpcre3-dev \
2726
libssl-dev \
2827
make \
29-
software-properties-common \
3028
zip
3129

3230
WORKDIR /github/grpc-web
3331

34-
RUN git clone https://github.com/grpc/grpc-web .
35-
36-
COPY ./javascript ./javascript
37-
38-
RUN ./scripts/init_submodules.sh
32+
COPY . .
3933

4034
RUN cd ./third_party/grpc/third_party/protobuf && \
41-
./autogen.sh && ./configure && make && make install
35+
./autogen.sh && ./configure && make && make install && ldconfig
4236

4337
RUN cd ./javascript/net/grpc/web && \
4438
make protoc-gen-grpc-web

0 commit comments

Comments
 (0)