FROM rustlang/rust:nightly-alpine3.17

RUN apk add --no-cache musl-dev
RUN rustup component add rustfmt

ENTRYPOINT ["cargo", "fmt"]