Files
openobserve/deploy/build/Dockerfile.sccache.aarch64
T

15 lines
618 B
Docker

FROM public.ecr.aws/docker/library/rust:bookworm
RUN rustup toolchain install nightly-2025-03-02
RUN rustup default nightly-2025-03-02
RUN rustup target add aarch64-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-aarch_64.zip \
&& unzip protoc-21.12-linux-aarch_64.zip -d protoc \
&& cp protoc/bin/protoc /usr/local/bin/ \
&& cp -r protoc/include/google /usr/local/include/