Skip to content

Docker image to build deb packages Rust projects with cargo-deb

License

Notifications You must be signed in to change notification settings

sanders41/cargo-deb-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cargo-deb Runner

Tests Status

This Docker image builds deb packages from Rust projects using cargo-deb.

Usage

Build the image

docker build -t cargo-deb-runner .

Creating the deb package

To build the deb package run the docker image from within the root directory of the Rust project, mounting the directory as a volume. This will create the deb package in the target/debian directory.

docker run --rm -v ${PWD}:/builder cargo-deb-runner

Command like flags can also be passed to the build. For example, by default cargo-deb appends a -1 post tag to the version of the package. To exclude this set the deb-revision flag.

docker run --rm -v ${PWD}:/builder cargo-deb-runner --deb-revision=""

About

Docker image to build deb packages Rust projects with cargo-deb

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published