setup-rust/Dockerfile

23 lines
514 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 \
cargo-fmt \
cargo-clippy
COPY entrypoint.sh /
ENTRYPOINT [ "/entrypoint.sh" ]