mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-17 15:03:41 +00:00
16 lines
386 B
Makefile
16 lines
386 B
Makefile
all: diagnostics-server
|
|
|
|
files:
|
|
ls Dockerfile *.go > files
|
|
printf -- '-C\n..\n' >> files
|
|
(cd .. && find vendor) >> files
|
|
|
|
diagnostics-server: Dockerfile $(wildcard *.go) ../vendor/manifest files
|
|
tar cf - -T files | docker build -t diagnostics-server:build -
|
|
docker run --rm --net=none diagnostics-server:build | tar xf -
|
|
|
|
clean:
|
|
rm -rf diagnostics-server files
|
|
|
|
.DELETE_ON_ERROR:
|