add Makefile

This commit is contained in:
Bradley Cicenas
2017-03-18 00:38:03 +00:00
parent a135a67c06
commit 26b88a9790
2 changed files with 27 additions and 2 deletions

View File

@@ -49,8 +49,7 @@ To build `ctop` from source, ensure you have a recent version of [glide](http://
```bash
git clone https://github.com/bcicen/ctop.git $GOPATH/src/github.com/bcicen/ctop && \
cd $GOPATH/src/github.com/bcicen/ctop && \
glide install && \
go build
make build
```
To build a minimal Docker image containing only `ctop`, follow the build instructions above up through `glide install`, then: