mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-12 21:01:28 +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>
16 lines
408 B
Makefile
16 lines
408 B
Makefile
# Tag: 9c777a22fd84f08e1ea342c0b4ebabfb09fca086
|
|
GO_COMPILE=mobylinux/go-compile@sha256:5e7f1909b0316261653d84f73aeb9188ef20d06b1ecf92eaa4402b32221adfba
|
|
|
|
default: sbin/vsudd
|
|
|
|
DEPS=$(wildcard *.go)
|
|
|
|
sbin/vsudd: $(DEPS) ../vendor/manifest
|
|
mkdir -p $(dir $@)
|
|
tar cf - $(DEPS) -C .. vendor | docker run --rm --net=none --log-driver=none -i $(GO_COMPILE) -o $@ | tar xf -
|
|
|
|
clean:
|
|
rm -rf sbin
|
|
|
|
.DELETE_ON_ERROR:
|