diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-10-05 07:15:42 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-10-05 07:15:42 +0200 |
commit | 5374bef630025b10478f0c234b4e37fc29b3be93 (patch) | |
tree | 2bb20832db5bfee52f9d2a8876975b396a164bea /adei-mini/Makefile | |
parent | eb8382d4dc76d5b3dcda1290f74e71989feae83a (diff) | |
download | adei-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 'adei-mini/Makefile')
-rw-r--r-- | adei-mini/Makefile | 20 |
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 |