#cargo-subcommand #docker #build

yanked cargo-docker-builder

A cargo subcommand to build rust using docker

Uses old Rust 2015

0.0.5 Apr 11, 2019
0.0.4 Apr 11, 2019
0.0.2 Apr 11, 2019

#318 in #docker

MIT license

5KB

cargo-docker-builder

This is a fork of cargo-docker

A cargo subcommand to build Rust code using the standard rust docker containers

Install

To install cargo-docker-builder you should type the following:

$ cargo install cargo-docker-builder

Usage

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

Dependencies

~1.5MB
~24K SLoC