Use the official Go source, follow redirects
This commit is contained in:
parent
cf3021ecca
commit
aea2b54c99
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ ENV GOPATH /go
|
||||||
RUN apt-get update && apt-get install --yes --force-yes curl git mercurial zip wget ca-certificates build-essential
|
RUN apt-get update && apt-get install --yes --force-yes curl git mercurial zip wget ca-certificates build-essential
|
||||||
RUN apt-get install -yq vim sudo
|
RUN apt-get install -yq vim sudo
|
||||||
|
|
||||||
RUN curl -s http://docker.u.qiniudn.com/go1.2.1.src.tar.gz | tar -v -C /usr/local -xz
|
RUN curl -sL https://golang.org/dl/go1.3.linux-amd64.tar.gz | tar -v -C /usr/local -xz
|
||||||
RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1
|
RUN cd /usr/local/go/src && ./make.bash --no-clean 2>&1
|
||||||
|
|
||||||
RUN go get -u -d github.com/gogits/gogs
|
RUN go get -u -d github.com/gogits/gogs
|
||||||
|
|
Loading…
Reference in a new issue