mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-26 19:48:00 +00:00
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>
11 lines
353 B
Makefile
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
|