mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-22 03:30:38 +00:00
6bc977b9e6
Also added clippy into CI checks, but allowing warnings to pass for now.
22 lines
483 B
Docker
22 lines
483 B
Docker
FROM rust:latest
|
|
|
|
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
|
|
|
|
|
|
RUN mkdir /cargocache && chmod -R ugo+rwX /cargocache
|
|
|
|
ENV CARGO_HOME /cargocache
|
|
|
|
RUN rustup component add rustfmt clippy
|