Files
linuxkit/alpine/packages/diagnostics/Makefile
David Scott 4802911c8f moby: rewrite diagnostics server in Go
This will make it easier to add a vsock interface as well as a regular
TCP/IP one.

As a side-effect, the server is now able to handle more than one concurrent
request!

Signed-off-by: David Scott <dave.scott@docker.com>
2016-04-15 16:09:54 +01:00

11 lines
353 B
Makefile

all: diagnostics-server
diagnostics-server: Dockerfile main.go
docker build --build-arg GOOS=$(OS) --build-arg GOARCH=$(ARCH) -t diagnostics:build .
docker run --rm diagnostics:build cat /go/bin/diagnostics > diagnostics-server
chmod 755 diagnostics-server
clean:
rm -f diagnostics-server
docker images -q diagnostics:build | xargs docker rmi -f