diff --git a/Dockerfile b/Dockerfile index a01dbfb14..701b90a14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM golang:1.6.3 +RUN apt-get update + ENV GOPATH /gopath ENV CODIS ${GOPATH}/src/github.com/CodisLabs/codis ENV PATH ${GOPATH}/bin:${PATH}:${CODIS}/bin diff --git a/Makefile b/Makefile index 532d80fa9..700ad4704 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,8 @@ codis-server: make -j -C extern/redis-2.8.21/ @rm -f bin/codis-server @cp -f extern/redis-2.8.21/src/redis-server bin/codis-server + @cp -f extern/redis-2.8.21/src/redis-benchmark bin/ + @cp -f extern/redis-2.8.21/src/redis-cli bin/ clean: @rm -rf bin