Add Makefile, build with podman
Docker can be use later... maybe...
This commit is contained in:
10
Makefile
Normal file
10
Makefile
Normal 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
|
||||||
|
|
Reference in New Issue
Block a user