mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-14 20:08:14 +00:00
This includes most things except the containerd and runc builds which I will do next time I update them. Note that all golang:alpine images now for 1.8 are ALpine 3.5 based. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
22 lines
536 B
Makefile
22 lines
536 B
Makefile
GO_COMPILE=mobylinux/go-compile:d2d25ac665b5148ad356d0eab3ff3762a68c633d@sha256:aab55d0c317460850e66a07dd94139cc11ea9e1c0bee88716a6a8c768740885f
|
|
|
|
all: usr/bin/slirp-proxy sbin/proxy-vsockd
|
|
|
|
DEPS=$(wildcard *.go libproxy/*.go)
|
|
|
|
proxy: $(DEPS) ../vendor/manifest
|
|
tar cf - $(DEPS) -C .. vendor | docker run --rm --net=none --log-driver=none -i $(GO_COMPILE) -o $@ | tar xf -
|
|
|
|
usr/bin/slirp-proxy: proxy
|
|
mkdir -p usr/bin
|
|
cp proxy $@
|
|
|
|
sbin/proxy-vsockd: proxy
|
|
mkdir -p sbin
|
|
cp proxy $@
|
|
|
|
clean:
|
|
rm -rf proxy sbin usr
|
|
|
|
.DELETE_ON_ERROR:
|