whois42d/Makefile
2016-02-04 11:41:17 +01:00

11 lines
257 B
Makefile

VERSION?=1.0
container:
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o whois42d .
strip whois42d
docker build -t mic92/whois42d:$(VERSION) .
upload:
docker tag -f mic92/whois42d:$(VERSION) mic92/whois42d:latest
docker push mic92/whois42d