redisproxy/Makefile
2020-03-05 23:38:53 -08:00

18 lines
297 B
Makefile

TAGNAME := dockermirror:5000/dpedu/redisproxy
LOCALNAME := redisproxy
.DEFAULT_GOAL: redis-sentinel-proxy
redis-sentinel-proxy:
go build -o $@
image:
rm -f redis-sentinel-proxy
docker build -t $(LOCALNAME) .
tag: image
docker tag $(LOCALNAME) $(TAGNAME)
push: tag
docker push $(TAGNAME)