This commit is contained in:
Liang Ding 2017-01-23 17:49:43 +08:00
parent d82fa32715
commit 7f4df9b4de
1 changed files with 5 additions and 4 deletions

View File

@ -4,11 +4,12 @@ MAINTAINER Liang Ding <dl88250@gmail.com>
RUN apt-get update && apt-get install bzip2 RUN apt-get update && apt-get install bzip2
ENV GOROOT /usr/local/go ENV GOROOT /usr/local/go
ENV GOROOT_BOOTSTRAP=$GOROOT RUN cp -r /usr/local/go /usr/local/gobt
ENV GOROOT_BOOTSTRAP=/usr/local/gobt
RUN cd /usr/local/go/src && export GOOS=darwin && export GOARCH=amd64 && ./bootstrap.bash --no-clean RUN cd /usr/local/go/src && export GOOS=darwin && export GOARCH=amd64 && ./make.bash --no-clean
RUN cd /usr/local/go/src && export GOOS=linux && export GOARCH=arm && ./bootstrap.bash --no-clean RUN cd /usr/local/go/src && export GOOS=linux && export GOARCH=arm && ./make.bash --no-clean
RUN cd /usr/local/go/src && export GOOS=windows && export GOARCH=amd64 && ./bootstrap.bash --no-clean RUN cd /usr/local/go/src && export GOOS=windows && export GOARCH=amd64 && ./make.bash --no-clean
ADD . /wide/gogogo/src/github.com/b3log/wide ADD . /wide/gogogo/src/github.com/b3log/wide