From e5aaf23bb21a7a7ead371a30d1e5c26c114b346e Mon Sep 17 00:00:00 2001 From: crystaldust Date: Wed, 23 Apr 2014 02:26:56 +0000 Subject: [PATCH] Update the githu.com/Unknwon/com module before getting gogs. --- dockerfiles/images/gogits/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/dockerfiles/images/gogits/Dockerfile b/dockerfiles/images/gogits/Dockerfile index 25d1dd5e..1b85f3bd 100644 --- a/dockerfiles/images/gogits/Dockerfile +++ b/dockerfiles/images/gogits/Dockerfile @@ -18,6 +18,7 @@ RUN apt-get install -yq vim RUN curl -s http://docker.u.qiniudn.com/go1.2.1.src.tar.gz | tar -v -C /usr/local -xz RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1 +RUN go get -u github.com/Unknwon/com RUN go get -u -d github.com/gogits/gogs RUN cd $GOPATH/src/github.com/gogits/gogs && git checkout dev && git pull origin dev && go install && go build -tags redis