setup-rust/Dockerfile
silvana f84f054c57
Some checks failed
/ test (map[name:nightly]) (push) Failing after 15s
/ test (map[name:stable]) (push) Failing after 15s
/ test (map[name:v1.81.0]) (push) Failing after 16s
switch to alpine as base image.
2024-11-29 06:27:26 +01:00

21 lines
451 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
COPY entrypoint.sh /
ENTRYPOINT [ "/entrypoint.sh" ]