This commit is contained in:
parent
be47ad0bab
commit
c52269835b
1 changed files with 8 additions and 5 deletions
13
Dockerfile
13
Dockerfile
|
@ -5,6 +5,8 @@ FROM docker.io/rust:1.80.0-slim-bookworm
|
||||||
# clang-16 & mold - faster linkers for rust
|
# clang-16 & mold - faster linkers for rust
|
||||||
# pkg-config - required to compile some rust `-sys` packages
|
# pkg-config - required to compile some rust `-sys` packages
|
||||||
# libssl-dev - build dependency for git-next
|
# libssl-dev - build dependency for git-next
|
||||||
|
# libdbus-1-dev - linux os interop (e.g. desktop notifications)
|
||||||
|
# git - git
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& \
|
&& \
|
||||||
apt-get install -y \
|
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 && \
|
rm cargo-binstall.tgz && \
|
||||||
mv cargo-binstall /usr/local/bin/
|
mv cargo-binstall /usr/local/bin/
|
||||||
|
|
||||||
RUN cargo binstall -y cargo-chef@0.1.67 \
|
RUN cargo binstall -y \
|
||||||
release-plz@0.3.80
|
cargo-chef@0.1.67 \
|
||||||
|
release-plz@0.3.80 && \
|
||||||
RUN rustup component add rustfmt clippy
|
rustup component add rustfmt clippy
|
||||||
|
|
||||||
COPY entrypoint.sh /
|
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" ]
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||||
|
|
Loading…
Reference in a new issue