Files
linuxkit/alpine/packages/iptables/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

13 lines
322 B
Makefile

all: usr/local/sbin/iptables
usr/local/sbin/iptables: Dockerfile main.ml
mkdir -p usr/local/sbin
BUILD=$$( docker build -q . ) && \
[ -n "$$BUILD" ] && \
echo "Built $$BUILD" && \
docker run --rm $$BUILD | tar xf - -C usr/local/sbin
clean:
rm -rf usr
docker images -q iptables:build | xargs docker rmi -f || true