feat: drop entrypoint in favour of using 'run' over 'uses'
This commit is contained in:
parent
cb915104cb
commit
da790827d4
3 changed files with 14 additions and 70 deletions
10
Dockerfile
10
Dockerfile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue