🐳 Docker build

This commit is contained in:
Liang Ding 2018-03-13 11:54:01 +08:00
parent 7b040f9f4f
commit 7dc9e0e867
1 changed files with 1 additions and 4 deletions

View File

@ -12,10 +12,7 @@ RUN useradd wide && useradd runner
ENV GOPATH /wide/gogogo ENV GOPATH /wide/gogogo
RUN go build github.com/go-fsnotify/fsnotify\ RUN go install github.com/visualfc/gotools github.com/nsf/gocode github.com/bradfitz/goimports
&& go build github.com/gorilla/sessions\
&& go build github.com/gorilla/websocket\
&& go install github.com/visualfc/gotools github.com/nsf/gocode github.com/bradfitz/goimports
WORKDIR /wide/gogogo/src/github.com/b3log/wide WORKDIR /wide/gogogo/src/github.com/b3log/wide
RUN go build -v RUN go build -v