From 69be4d8b0403443e829e90c887c3733f8f15859f Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 7 Feb 2020 10:14:04 -0600 Subject: [PATCH] Add readme --- readme.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..b4d83e7 --- /dev/null +++ b/readme.md @@ -0,0 +1,28 @@ +# 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 +```