chore(docker): cleanup Dockerfile
All checks were successful
/ test (push) Successful in 6s

This commit is contained in:
Paul Campbell 2024-08-04 15:40:15 +01:00
parent be47ad0bab
commit c52269835b

View file

@ -5,6 +5,8 @@ FROM docker.io/rust:1.80.0-slim-bookworm
# clang-16 & mold - faster linkers for rust
# pkg-config - required to compile some rust `-sys` packages
# libssl-dev - build dependency for git-next
# libdbus-1-dev - linux os interop (e.g. desktop notifications)
# git - git
RUN apt-get update \
&& \
apt-get install -y \
@ -25,13 +27,14 @@ RUN curl -L https://github.com/cargo-bins/cargo-binstall/releases/download/v1.9.
rm cargo-binstall.tgz && \
mv cargo-binstall /usr/local/bin/
RUN cargo binstall -y cargo-chef@0.1.67 \
release-plz@0.3.80
RUN rustup component add rustfmt clippy
RUN cargo binstall -y \
cargo-chef@0.1.67 \
release-plz@0.3.80 && \
rustup component add rustfmt clippy
COPY entrypoint.sh /
RUN git config --global user.email "action@git.kemitix.net" && git config --global user.name "ForgeJo Action. See: https://git.kemitix.net/kemitix/rust"
RUN git config --global user.email "action@git.kemitix.net" && \
git config --global user.name "ForgeJo Action. See: https://git.kemitix.net/kemitix/rust"
ENTRYPOINT [ "/entrypoint.sh" ]