mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-08 11:55:46 +00:00
13 lines
357 B
Makefile
13 lines
357 B
Makefile
all: usr/bin/diagnostics-server
|
|
|
|
DEPS=Dockerfile $(wildcard *.go)
|
|
|
|
usr/bin/diagnostics-server: $(DEPS) ../vendor/manifest
|
|
tar cf - $(DEPS) -C .. $(shell cd .. && find vendor) | docker build -t diagnostics-server:build -
|
|
docker run --rm --net=none diagnostics-server:build | tar xf - -C usr/bin
|
|
|
|
clean:
|
|
rm -f usr/bin/diagnostics-server
|
|
|
|
.DELETE_ON_ERROR:
|