![Tom Alexander](/assets/img/avatar_default.png)
I should be configuring cranelift globally in my per-machine configs, not spreading my build preferences in the project's Cargo.toml.
7 lines
274 B
Docker
7 lines
274 B
Docker
FROM rustlang/rust:nightly-alpine3.20 AS builder
|
|
|
|
RUN apk add --no-cache musl-dev pkgconfig libressl3.8-libssl libressl-dev
|
|
RUN cargo install --locked --no-default-features --features ci-autoclean cargo-cache
|
|
RUN rustup component add rustfmt
|
|
RUN rustup component add clippy
|