aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkballou <kballou@devnulllabs.io>2017-05-02 18:13:18 -0600
committerkballou <kballou@devnulllabs.io>2017-05-23 09:35:59 -0600
commit5b1f7286d1bd7bbb7b8b70e1d29c419c92be6c21 (patch)
treeae8eb682cc3a46139f32298eaf43f1f1eaeff68f /Makefile
parentbf3fb4e869fc1218c00bacf9ff63c7871d479f64 (diff)
downloaddocker-erlang-5b1f7286d1bd7bbb7b8b70e1d29c419c92be6c21.tar.gz
docker-erlang-5b1f7286d1bd7bbb7b8b70e1d29c419c92be6c21.tar.xz
Add initial docker files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e69de29..b9fa6ac 100644
--- a/Makefile
+++ b/Makefile
@@ -0,0 +1,25 @@
+DOCKERFILES_SRC:=template/Dockerfile
+
+DOCKERFILES:= \
+ 18/Dockerfile \
+ 18/onbuild/Dockerfile \
+ 18/development/Dockerfile \
+ 18/alpine/Dockerfile \
+ 18/alpine/onbuild/Dockerfile \
+ 18/alpine/development/Dockerfile \
+ 19/Dockerfile \
+ 19/onbuild/Dockerfile \
+ 19/development/Dockerfile \
+ 19/alpine/Dockerfile \
+ 19/alpine/onbuild/Dockerfile \
+ 19/alpine/development/Dockerfile
+
+.PHONY: all
+all: ${DOCKERFILES}
+
+$(DOCKERFILES): template/Dockerfile 18/options 19/options
+ bash template/generate.sh $(shell echo $@ | cut -d '/' -f1)/options $^ > $@
+
+.PHONY: clean
+clean:
+ -rm $(DOCKERFILES)