mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 20:36:24 +00:00
13 lines
344 B
Makefile
13 lines
344 B
Makefile
DOCKER?=docker
|
|
|
|
.PHONY: build
|
|
build: VERSION
|
|
$(shell cd ../cmd/9pudc && GOOS=linux GOARCH=386 go build)
|
|
cp ../cmd/9pudc/9pudc rootfs/rootfs/sbin/9pudc
|
|
$(DOCKER) build -t boot2docker:test .
|
|
$(DOCKER) run boot2docker:test tar -C /tmp/iso/boot -c . | tar -xv
|
|
|
|
.PHONY: VERSION
|
|
VERSION:
|
|
docker -v | cut -f 3 -d ' ' | cut -f 1 -d ',' > VERSION
|