mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-16 15:19:57 +00:00
These are standalone, better to have them at the top. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
13 lines
330 B
Makefile
13 lines
330 B
Makefile
BASE=ocaml/opam:alpine
|
|
IMAGE=pinata-iptables
|
|
|
|
# OCaml builds are non deterministic so do not generate a hash
|
|
|
|
default: Dockerfile main.ml
|
|
docker pull $(BASE)
|
|
BUILD=$$( docker build -q . ) && \
|
|
[ -n "$$BUILD" ] && \
|
|
echo "Built $$BUILD" && \
|
|
docker tag $$BUILD mobylinux/$(IMAGE):latest
|
|
docker push mobylinux/$(IMAGE):latest
|