mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
Merge pull request #2011 from justincormack/make-no-docker
Add a "local" make target that does not use Docker
This commit is contained in:
commit
dcd6cb09a9
3
Makefile
3
Makefile
@ -43,6 +43,9 @@ bin/linuxkit: $(LINUXKIT_DEPS) | bin
|
|||||||
rm tmp_linuxkit_bin.tar
|
rm tmp_linuxkit_bin.tar
|
||||||
touch $@
|
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:
|
bin:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user