Added gRPC installation to the Dockerfile, as it is needed to compile.

This commit is contained in:
Luke Anderson 2019-02-07 18:31:28 +11:00
parent c6d3636d0d
commit b6fcb8da94
No known key found for this signature in database
GPG Key ID: 44408169EC61E228

View File

@ -1,4 +1,15 @@
FROM rust:latest
RUN apt-get update && apt-get install -y clang libclang-dev cmake
RUN apt-get update && apt-get install -y clang libclang-dev cmake build-essential git unzip autoconf libtool
RUN git clone https://github.com/google/protobuf.git && \
cd protobuf && \
./autogen.sh && \
./configure && \
make && \
make install && \
ldconfig && \
make clean && \
cd .. && \
rm -r protobuf