dockerfiles/kiwi-builder/Makefile
Jessica Frazelle 7fd969911b
update dockerfiles
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2016-01-15 15:00:00 -08:00

14 lines
323 B
Makefile

.PHONY: all build run clean
all: run
build:
@docker build --rm --force-rm -t jess/kiwi-builder .
run: build
$(shell docker run --rm -v $(CURDIR)/artifacts:/usr/src/artifacts jess/kiwi-builder mv suse-rootfs.tar artifacts)
$(shell docker import artifacts/suse-rootfs.tar jess/opensuse:12.3)
clean:
@rm -rf artifacts