Files
linuxkit/alpine/packages/9pudc/Makefile
Justin Cormack 6ee7b22152 remove temporary containers
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-10 14:31:37 -08:00

11 lines
264 B
Makefile

all: 9pudc
9pudc: Dockerfile main.go
docker build --build-arg GOOS=$(OS) --build-arg GOARCH=$(ARCH) -t 9pudc:build .
docker run --rm 9pudc:build cat /go/bin/9pudc > 9pudc
chmod 755 9pudc
clean:
rm -f 9pudc
docker images -q 9pudc:build | xargs docker rmi -f