mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 02:21:34 +00:00
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 <justin.cormack@docker.com>
This commit is contained in:
parent
0b2506523d
commit
ac90b50437
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