Skip to content

Commit

Permalink
docker: call apt-get update first
Browse files Browse the repository at this point in the history
  • Loading branch information
spinlock committed Sep 22, 2016
1 parent b101c01 commit 94436be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 94436be

Please sign in to comment.