From e39ea12c8e79c71b48405b0444e4e6d953ea70db Mon Sep 17 00:00:00 2001 From: Yann Hamon Date: Sun, 31 May 2020 13:46:05 +0200 Subject: [PATCH] Add Dockerfile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e797614..771c6e8 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,7 @@ #!/usr/bin/make -f -all: +build: go build -o bin/kubeconform + +build-static: + CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o bin/kubeconform