mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
7fd969911b
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
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
|