summaryrefslogtreecommitdiffstats
path: root/kiwi/Makefile
blob: f8f7497c2613e639472675071a4d5e103c626bc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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