Find a file
2020-02-07 10:15:08 -06:00
src Initial commit 2020-02-07 10:11:23 -06:00
.gitignore Initial commit 2020-02-07 10:11:23 -06:00
Cargo.lock Initial commit 2020-02-07 10:11:23 -06:00
Cargo.toml Initial commit 2020-02-07 10:11:23 -06:00
Dockerfile Initial commit 2020-02-07 10:11:23 -06:00
makefile Add missing phony entry 2020-02-07 10:15:08 -06:00
readme.md Add readme 2020-02-07 10:14:04 -06:00

Rust Static Binary Example

This repository serves as an example of how to build static binaries in rust for classic distribution or containerization.

Dependencies

rustup target add x86_64-unknown-linux-musl

Usage

make build

Docker

make docker-image

Run with Docker

make docker-run