rust static debian package builder. Usues target x86_64-unknown-linux-musl.
3.0K
x86_64-unknown-linux-musl)Builds statically linked binaries and packages it as .deb using docker
name: Build statically linked .deb package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: build .deb file
uses: sassman/rust-deb-builder@v1
package: the package name, in case your crate as multiple bin targetstarget: default: x86_64-unknown-linux-muslin your rust crate root dir use it like:
# run this in your crate root where the `Cargo.toml` is located
docker run --rm -v $(pwd):/mnt -w /mnt 5422m4n/rust-deb-builder:latest
it's based on the official rust image:
Content type
Image
Digest
sha256:195e544e7…
Size
625.2 MB
Last updated
8 months ago
docker pull 5422m4n/rust-deb-builder