Add readme

This commit is contained in:
Daniel Flanagan 2020-02-07 10:14:04 -06:00
parent d6392c7751
commit 69be4d8b04
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
1 changed files with 28 additions and 0 deletions

28
readme.md Normal file
View File

@ -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
```