Sign inSign up

dimlev/rust-static-builder

By dimlev

•Updated over 1 year ago

Image to build statically linked Linux executables from Rust projects (stable toolchain)

Image
0

420

dimlev/rust-static-builder repository overview

Fork of https://github.com/fornwall/rust-static-builder⁠

⁠Building

From inside your rust project directory containing a Cargo.toml file:

docker run \
    -v "$PWD":/build \
    -v "$HOME"/.cargo/git:/root/.cargo/git \
    -v "$HOME"/.cargo/registry:/root/.cargo/registry \
    dimlev/rust-static-builder:1.64.0

Tag summary

Content type

Image

Digest

sha256:bd27084dc…

Size

1.1 GB

Last updated

over 1 year ago

docker pull dimlev/rust-static-builder