mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
14 lines
323 B
Makefile
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
|