Files
linuxkit/alpine/packages/proxy/Makefile
Justin Cormack fe64819020 Update to Go 1.8
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>
2017-02-17 16:31:19 +00:00

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: