mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 16:10:43 +00:00
15 lines
613 B
Docker
15 lines
613 B
Docker
FROM public.ecr.aws/docker/library/rust:bookworm
|
|
|
|
RUN rustup toolchain install nightly-2024-07-07
|
|
RUN rustup default nightly-2024-07-07
|
|
RUN rustup target add x86_64-unknown-linux-gnu
|
|
RUN rustup component add rustfmt clippy llvm-tools
|
|
RUN cargo install --locked sccache
|
|
ENV SCCACHE_IDLE_TIMEOUT=1800
|
|
ENV RUSTC_WRAPPER=/usr/local/cargo/bin/sccache
|
|
|
|
RUN wget https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip \
|
|
&& unzip protoc-21.12-linux-x86_64.zip -d protoc \
|
|
&& cp protoc/bin/protoc /usr/local/bin/ \
|
|
&& cp -r protoc/include/google /usr/local/include/
|