From ac90b5043754318d6fa533b2818e2b7fbfabe24e Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Fri, 9 Jun 2017 15:24:21 +0100 Subject: [PATCH] Add a "local" make target that does not use Docker This assumes you are in the right directory, have Go set up etc. Signed-off-by: Justin Cormack --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 92b8707fe..999aaee57 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,9 @@ bin/linuxkit: $(LINUXKIT_DEPS) | bin rm tmp_linuxkit_bin.tar touch $@ +local: $(LINUXKIT_DEPS) | bin + go build -o bin/linuxkit --ldflags "-X main.GitCommit=$(GIT_COMMIT) -X main.Version=$(VERSION)" github.com/linuxkit/linuxkit/src/cmd/linuxkit + bin: mkdir -p $@