This commit is contained in:
parent
fa7ea49739
commit
a7eb2a0f15
11
Dockerfile
11
Dockerfile
|
@ -1,10 +1,19 @@
|
||||||
FROM golang:latest
|
FROM golang:latest
|
||||||
MAINTAINER Liang Ding <dl88250@gmail.com>
|
MAINTAINER Liang Ding <dl88250@gmail.com>
|
||||||
|
|
||||||
|
RUN go get github.com/88250/ide_stub
|
||||||
|
RUN go get github.com/nsf/gocode
|
||||||
|
RUN go get github.com/bradfitz/goimports
|
||||||
|
|
||||||
ADD . /go/src/github.com/b3log/wide
|
ADD . /go/src/github.com/b3log/wide
|
||||||
WORKDIR /go/src/github.com/b3log/wide
|
WORKDIR /go/src/github.com/b3log/wide
|
||||||
|
RUN go get
|
||||||
|
RUN go build
|
||||||
|
|
||||||
CMD ["./docker.sh"]
|
RUN cp -r . /root/wide
|
||||||
|
WORKDIR /root/wide
|
||||||
|
RUN rm -rf /go/pkg /go/src/*
|
||||||
|
RUN mv ./hello /go/src/hello
|
||||||
|
|
||||||
ENV GOROOT /usr/src/go
|
ENV GOROOT /usr/src/go
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue