From c52269835bb78b2056ab9efa99afa7713639c659 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 4 Aug 2024 15:40:15 +0100 Subject: [PATCH] chore(docker): cleanup Dockerfile --- Dockerfile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8e18659..e59def4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ]