12 lines
328 B
Docker
12 lines
328 B
Docker
FROM rustlang/rust:nightly-alpine3.19 AS builder
|
|
|
|
RUN apk add --no-cache musl-dev
|
|
RUN cargo install --locked --no-default-features --features ci-autoclean cargo-cache
|
|
RUN rustup component add rustfmt
|
|
RUN rustup component add clippy
|
|
|
|
FROM builder AS javascript
|
|
|
|
RUN apk add --no-cache npm
|
|
RUN npm install --global prettier@3.1.0
|