A lightweight Docker image containing cargo-make, a powerful build tool and task runner for Rust projects. This container provides an easy way to use cargo-make in CI/CD pipelines and development environments without local installation.
- 🚀 Pre-built cargo-make binary ready to use
- 🐳 Minimal Docker image for efficient CI/CD
- 🔄 Automated synchronization with cargo-make releases
- 📦 Multi-architecture support
FROM rust:1.88 as builder
WORKDIR /app
COPY . .
COPY --from=mbround18/cargo-make /usr/local/bin/cargo-make /usr/local/cargo/bin/
RUN cargo make build# Pull and run a specific version
docker run --rm mbround18/cargo-make:0.37.20 cargo make --version
# Run cargo-make commands directly
docker run --rm -v $(pwd):/workspace -w /workspace mbround18/cargo-make cargo make build
# Interactive shell with cargo-make available
docker run --rm -it -v $(pwd):/workspace -w /workspace mbround18/cargo-make shFROM mbround18/cargo-make:latest as make
FROM rust:1.88 as builder
WORKDIR /app
COPY . .
COPY --from=make /usr/local/bin/cargo-make /usr/local/cargo/bin/
RUN cargo make ci-flowFROM mbround18/cargo-make:latest as make
FROM rust:1.88 as builder
WORKDIR /app
COPY . .
COPY --from=make /usr/local/bin/cargo-make /usr/local/cargo/bin/
# Run tests and build
RUN cargo make test
RUN cargo make build --release
FROM debian:bookworm-slim
COPY --from=builder /app/target/release/myapp /usr/local/bin/
CMD ["myapp"]Contributions are welcome! This repository includes automation tools for maintaining Docker images and syncing with cargo-make releases.
For development setup, available commands, and contribution guidelines, please see Code of Conduct
For issues related to cargo-make functionality, please report them to the cargo-make repository.
For issues specific to this Docker container, please use this repository's issue tracker.
This project is released into the public domain under The Unlicense - see the LICENSE file for details.