mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-17 16:28:24 +00:00
Now there is an Alpine 3.5 variant of the Go 1.7 images, use this. fix #972 Note updated the containers/binfmt image as this will be converted to go-compile shortly, at which point alpine-build-go can be removed. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
23 lines
554 B
Makefile
23 lines
554 B
Makefile
# Tag: 9c777a22fd84f08e1ea342c0b4ebabfb09fca086
|
|
GO_COMPILE=mobylinux/go-compile@sha256:5e7f1909b0316261653d84f73aeb9188ef20d06b1ecf92eaa4402b32221adfba
|
|
|
|
all: usr/bin/slirp-proxy sbin/proxy-vsockd
|
|
|
|
DEPS=Dockerfile $(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:
|