18 lines
297 B
Makefile
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)
|