35c2057f05
All checks were successful
ci/woodpecker/pr/cron-docker-builder Pipeline was successful
ci/woodpecker/pr/push-next Pipeline was successful
ci/woodpecker/pr/tag-created Pipeline was successful
ci/woodpecker/pull_request_closed/cron-docker-builder Pipeline was successful
ci/woodpecker/pull_request_closed/push-next Pipeline was successful
ci/woodpecker/pull_request_closed/tag-created Pipeline was successful
Rust / build (push) Successful in 7m38s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 1m0s
21 lines
681 B
Ruby
21 lines
681 B
Ruby
FROM docker.io/rust:1.81.0-bookworm
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y libdbus-1-dev && \
|
|
curl -L https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz -o cargo-binstall.tgz && \
|
|
tar -xzf cargo-binstall.tgz && \
|
|
rm cargo-binstall.tgz && \
|
|
mv cargo-binstall /usr/local/bin/ && \
|
|
cargo binstall -y cargo-chef && \
|
|
rustup component add rustfmt clippy
|
|
|
|
# verify that the binaries are installed
|
|
RUN ls -l /usr/local/cargo/bin/
|
|
RUN cargo chef --version
|
|
RUN rustfmt --version
|
|
RUN cargo fmt --version
|
|
RUN cargo clippy --version
|
|
RUN cargo --version
|
|
RUN rustc --version
|
|
RUN rustup --version
|
|
RUN rustup show
|