Dockerfile

This commit is contained in:
Liang Ding 2015-08-05 11:24:53 +08:00
parent 2ebaa98efb
commit e76d4f3fd9
2 changed files with 2 additions and 1 deletions

View File

@ -2,13 +2,14 @@ FROM golang:cross
MAINTAINER Liang Ding <dl88250@gmail.com>
ADD . /wide/gogogo/src/github.com/b3log/wide
ADD ./golang.org /wide/gogogo/src/
RUN useradd wide && useradd runner
ENV GOROOT /usr/src/go
ENV GOPATH /wide/gogogo
RUN go get -v golang.org/x/tools/cmd/vet github.com/88250/ide_stub github.com/nsf/gocode github.com/bradfitz/goimports
RUN github.com/88250/ide_stub github.com/nsf/gocode github.com/bradfitz/goimports
WORKDIR /wide/gogogo/src/github.com/b3log/wide
RUN go get -v && go build -v

BIN
golang.org.zip Normal file

Binary file not shown.