summaryrefslogtreecommitdiffstats
path: root/adei-mini/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'adei-mini/Makefile')
-rw-r--r--adei-mini/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/adei-mini/Makefile b/adei-mini/Makefile
new file mode 100644
index 0000000..ba30242
--- /dev/null
+++ b/adei-mini/Makefile
@@ -0,0 +1,20 @@
+all: build
+install: push
+
+.PHONY: deps rebuild build push start stop restart bash
+
+deps:
+ docker pull chsa/microadei:latest
+
+build: deps Dockerfile
+ docker build --tag chsa/adei-minimal:latest .
+# docker build --squash --tag chsa/adei-minimal-squashed:latest .
+
+rebuild: Dockerfile
+ docker build --no-cache --tag chsa/adei-minimal:latest .
+
+push: build
+ docker push chsa/adei-minimal:latest
+
+bash: build
+ docker exec -it adei-minimal /bin/bash