Skip to content

A cargo subcommand to build Rust with docker

Notifications You must be signed in to change notification settings

skone/cargo-build-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 build-docker [--image rust:1.33.0] -- <commands to send to docker>

Specifying the image is optional, if it's omitted it will use the rust:1.33.0 image

An example is

cargo build-docker -- --release --lib

Build from source

If you want to modify this example clone the repo

git clone git@github.com:skone/cargo-build-docker.git

Make the changes you want to make and then install your newly develop subcommand Ensure that you're in the root of the cargo-build-docker repo and then run

cargo install --path .

About

A cargo subcommand to build Rust with docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Rust 100.0%