setup-rust/Dockerfile
2024-11-29 07:14:41 +01:00

22 lines
496 B
Docker

FROM rust:1.82-alpine3.20
RUN apk update && \
apk upgrade && \
apk add git \
bash \
nodejs \
clang \
mold \
musl-dev \
pkgconfig \
openssl-dev \
pcc-libs-dev && \
cargo install cargo-chef \
cargo-hack \
cargo-machete \
cargo-mutants && \
rustup component add rustfmt clippy
COPY entrypoint.sh /
ENTRYPOINT [ "/entrypoint.sh" ]