feat: drop entrypoint in favour of using 'run' over 'uses'

This commit is contained in:
Paul Campbell 2025-01-12 11:18:19 +00:00 committed by Paul Campbell
parent cb915104cb
commit da790827d4
3 changed files with 14 additions and 70 deletions

View file

@ -27,18 +27,16 @@ RUN cargo binstall -y \
cargo-mutants@25.0 \
release-plz@0.3
# install v1.74.1
RUN rustup install 1.74.1 && rustup component add --toolchain 1.74.1 rustfmt clippy
# should be a no-op if the FROM line is up-to-date
RUN rustup update stable && rustup component add --toolchain stable rustfmt clippy
# install nightly
RUN rustup install nightly && rustup component add --toolchain nightly rustfmt clippy
# install v1.74.1
RUN rustup install 1.74.1 && rustup component add --toolchain 1.74.1 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"
ENTRYPOINT [ "/entrypoint.sh" ]
WORKDIR /app