setup-rust/Dockerfile

23 lines
496 B
Text
Raw Normal View History

2024-11-29 05:10:57 +00:00
FROM rust:1.82-alpine3.20
2024-05-16 17:52:20 +00:00
2024-11-29 05:10:57 +00:00
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 \
2024-11-29 06:14:41 +00:00
cargo-mutants && \
rustup component add rustfmt clippy
2024-05-16 17:52:20 +00:00
COPY entrypoint.sh /
ENTRYPOINT [ "/entrypoint.sh" ]