]> source.dussan.org Git - gitea.git/commitdiff
Temp commit
authorMeaglith Ma <genedna@gmail.com>
Sun, 6 Apr 2014 09:31:42 +0000 (17:31 +0800)
committerMeaglith Ma <genedna@gmail.com>
Sun, 6 Apr 2014 09:31:42 +0000 (17:31 +0800)
dockerfiles/images/gogits/Dockerfile
dockerfiles/images/mysql/Dockerfile

index bcd6e69085450ece69c1a513956c36a245e4ec29..9c7d018b0daeda2e6529bac8747ef1fc5ab3ec5a 100644 (file)
@@ -13,10 +13,12 @@ RUN apt-get update && apt-get install --yes --force-yes curl git mercurial zip w
 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/gogits/gogs 
+RUN http_proxy=106.187.38.45:3128 go get -u github.com/gogits/gogs 
 RUN cd $GOPATH/src/github.com/gogits/gogs && go build
 
 RUN apt-get autoremove -y
 RUN apt-get clean all
 
 EXPOSE 3000
+
+CMD ["./$GOPATH/src/github.com/gogits/gogs/gogs"]  
index c3b85e3b94895e72248afab1cfdad0c44068080d..ecf69a2c524df081dc4c5630305acbc3f9f12491 100644 (file)
@@ -15,4 +15,5 @@ RUN apt-get autoremove -y
 RUN apt-get clean all
 
 EXPOSE 3306
+
 CMD ["/usr/bin/mysqld_safe", "--skip-syslog", "--log-error=/dev/null"]