Files
linuxkit/alpine/packages/hupper/Makefile
2016-01-22 11:58:38 +00:00

11 lines
268 B
Makefile

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