build: support building inside a container

This commit is contained in:
Ramkumar Chinchani
2019-08-14 12:35:51 -07:00
parent 735e8589f7
commit 2a96e73384
3 changed files with 39 additions and 5 deletions
+21
View File
@@ -9,6 +9,27 @@
* *Basic* and TLS mutual authentication
* Swagger based documentation
# Building
* Build inside a container (preferred)
```
make binary-container
```
* Build using host's toolchain
```
make
```
Build artifacts are in bin/
# Running
bin/zot serve _<config>_
# Caveats
* go 1.12+