Skip to content

A docker plugin for cargo to create docker image of a project

License

Notifications You must be signed in to change notification settings

bishtpawan/cargo-dockerimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cargo-dockerimage

A Cargo Plugin for Rust to give support to Docker with Rust Programming. This plugin is supposed to create a docker file first and then build a docker image from the created docker file. As of now, this plugin works only for ubuntu (Linux Distribution).

Install

You can install this plugin by using install command of Cargo.

$ cargo install cargo-dockerimage

To upgrade:

$ cargo install --force cargo-dockerimage

Usage

$ cargo dockerimage docker_image_name

Example:

# Build Docker Image

# To create binary(executable)
$ cargo build
# To create and build docker image. [Note: You need to run cargo build first]
$ cargo dockerimage test

Contribution

We thrive for the best and want you to contribute towards a better Project. See CONTRIBUTING.md for giving your valuable feedback and contributions.

License

Apache License, Version 2.0 (see LICENSE or http://www.apache.org/licenses/LICENSE-2.0)

About

A docker plugin for cargo to create docker image of a project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages