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

12 lines
258 B
Makefile

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