Files
linuxkit/alpine/packages/iptables/Makefile
Justin Cormack 0915940369 Build OCaml iptables package once and push to hub
As the build requires networking, is non repeatable as dependencies
may change, makes sense to make it a static package for now.

Plan is to rewrite in Go anyway at some point see #467

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-01-13 16:36:03 +00:00

14 lines
381 B
Makefile

# This image is currently just tagged latest as non reproducible
IPTABLES_IMAGE=mobylinux/pinata-iptables@sha256:4dc27c9515c99dc80c8ec431de2c7db7d382425e5c1de13a560e6ec4c6a52b89
all: usr/local/sbin/iptables
usr/local/sbin/iptables:
mkdir -p $(dir $@)
docker run --rm --net=none --log-driver=none $(IPTABLES_IMAGE) | tar xf - -C $(dir $@)
clean:
rm -rf usr
.DELETE_ON_ERROR: