Files
linuxkit/alpine/packages/vsudd/Makefile
Justin Cormack 47124e8282 do not remove build containers
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-10-11 16:12:40 +01:00

16 lines
308 B
Makefile

all: vsudd
DEPS=Dockerfile $(wildcard *.go)
vsudd: $(DEPS) ../vendor/manifest
mkdir -p sbin
BUILD=$$( tar cf - $(DEPS) -C .. vendor | docker build -q - ) && \
[ -n "$$BUILD" ] && \
echo "Built $$BUILD" && \
docker run --rm --net=none $$BUILD | tar xf - -C sbin
clean:
rm -rf sbin
.DELETE_ON_ERROR: