Dockerfile
This commit is contained in:
parent
2ebaa98efb
commit
e76d4f3fd9
|
@ -2,13 +2,14 @@ FROM golang:cross
|
||||||
MAINTAINER Liang Ding <dl88250@gmail.com>
|
MAINTAINER Liang Ding <dl88250@gmail.com>
|
||||||
|
|
||||||
ADD . /wide/gogogo/src/github.com/b3log/wide
|
ADD . /wide/gogogo/src/github.com/b3log/wide
|
||||||
|
ADD ./golang.org /wide/gogogo/src/
|
||||||
|
|
||||||
RUN useradd wide && useradd runner
|
RUN useradd wide && useradd runner
|
||||||
|
|
||||||
ENV GOROOT /usr/src/go
|
ENV GOROOT /usr/src/go
|
||||||
ENV GOPATH /wide/gogogo
|
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
|
WORKDIR /wide/gogogo/src/github.com/b3log/wide
|
||||||
RUN go get -v && go build -v
|
RUN go get -v && go build -v
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue