2019-01-09 08:44:37 +00:00
|
|
|
FROM rust:latest
|
|
|
|
|
2019-02-07 07:31:28 +00:00
|
|
|
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
|
2019-01-09 08:44:37 +00:00
|
|
|
|
2019-02-07 11:55:26 +00:00
|
|
|
|
2019-02-07 12:19:41 +00:00
|
|
|
RUN mkdir /cargocache && chmod -r ugo+rwX /cargocache
|