summaryrefslogtreecommitdiffstats
path: root/kiwi/Makefile
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-05 07:15:42 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-05 07:15:42 +0200
commit5374bef630025b10478f0c234b4e37fc29b3be93 (patch)
tree2bb20832db5bfee52f9d2a8876975b396a164bea /kiwi/Makefile
parenteb8382d4dc76d5b3dcda1290f74e71989feae83a (diff)
downloadadei-5374bef630025b10478f0c234b4e37fc29b3be93.tar.gz
adei-5374bef630025b10478f0c234b4e37fc29b3be93.tar.bz2
adei-5374bef630025b10478f0c234b4e37fc29b3be93.tar.xz
adei-5374bef630025b10478f0c234b4e37fc29b3be93.zip
Mini-version for CronJobs based on kiwi image (first try)
Diffstat (limited to 'kiwi/Makefile')
-rw-r--r--kiwi/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/kiwi/Makefile b/kiwi/Makefile
new file mode 100644
index 0000000..f8f7497
--- /dev/null
+++ b/kiwi/Makefile
@@ -0,0 +1,19 @@
+all: build/microadei.x86_64-0.10.1.docker.tar.xz
+install: push
+
+build/microadei.x86_64-0.10.1.docker.tar.xz: adei/config.xml adei/config.sh
+ rm -rf build/*
+ kiwi --type docker system build --description adei/ --target-dir ./build/
+ du -sm build/build
+
+import: build/microadei.x86_64-0.10.1.docker.tar.xz
+ docker load < build/microadei.x86_64-0.10.1.docker.tar.xz
+
+push: import
+ docker push chsa/microadei:latest
+
+clean:
+ rm -rf build/*
+
+run:
+ docker run -it chsa/microadei:latest /bin/bash