mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-10 22:10:05 +00:00
- remove unused `--docker` option - neater output for stages of check, build Signed-off-by: Justin Cormack <justin.cormack@docker.com>
16 lines
461 B
Makefile
16 lines
461 B
Makefile
# Tag: 6075d4b9c5fe30e19581f1b7ef1813f3041cca32
|
|
GO_COMPILE=mobylinux/go-compile@sha256:badfd8a1730ab6e640682d0f95a8f9c51f3cd4b2e8db261fe1a1fd8c6f60bd6e
|
|
|
|
default: usr/bin/diagnostics-server
|
|
|
|
DEPS=$(wildcard *.go)
|
|
|
|
usr/bin/diagnostics-server: $(DEPS) ../vendor/manifest
|
|
mkdir -p $(dir $@)
|
|
tar cf - $(DEPS) -C .. vendor | docker run --rm --net=none --log-driver=none -i $(GO_COMPILE) -o $@ | tar xf -
|
|
|
|
clean:
|
|
rm -f usr/bin/diagnostics-server
|
|
|
|
.DELETE_ON_ERROR:
|