Crates.io | cargo-docker-builder |
lib.rs | cargo-docker-builder |
version | 0.0.5 |
source | src |
created_at | 2019-04-11 14:24:57.526354 |
updated_at | 2019-04-11 14:38:12.217685 |
description | A cargo subcommand to build rust using docker |
homepage | |
repository | https://github.com/skone/cargo-docker-build |
max_upload_size | |
id | 127264 |
size | 4,797 |
This is a fork of cargo-docker
A cargo subcommand to build Rust code using the standard rust docker containers
To install cargo-docker-builder
you should type the following:
$ cargo install cargo-docker-builder
To use cargo-docker-builder
you should type the following:
$ cargo docker [--image rust:1.33.0]
Specifying the image is optional, if it's omitted it will use the rust:1.33.0 image
At the moment this runs the following command inside the container
cargo build --release --lib
This will be updated in future to allow arbitrary cargo commands to be passed through