Add Makefile, build with podman

Docker can be use later... maybe...
This commit is contained in:
2021-12-01 08:32:30 +01:00
parent a36811020d
commit a3904bfc8e

10
Makefile Normal file
View File

@@ -0,0 +1,10 @@
VERSION=0.1.1
build: katenary
katenary: *.go generator/*.go compose/*.go helm/*.go
podman run --rm -v $(PWD):/go/src/katenary -w /go/src/katenary --userns keep-id -it golang go build -o katenary -ldflags="-X 'main.AppVersion=$(VERSION)'" .
clean:
rm -f katenary