wide/Dockerfile

16 lines
400 B
Docker
Raw Normal View History

2014-11-18 07:01:17 +03:00
FROM golang:latest
2014-11-18 08:41:24 +03:00
MAINTAINER Liang Ding <dl88250@gmail.com>
2014-11-18 07:01:17 +03:00
2014-11-20 11:05:39 +03:00
ADD . /wide/gogogo/src/github.com/b3log/wide
2014-12-18 06:55:30 +03:00
RUN useradd wide && useradd runner
2014-11-19 11:13:46 +03:00
2014-11-20 10:52:44 +03:00
ENV GOROOT /usr/src/go
ENV GOPATH /wide/gogogo
2014-11-19 10:44:41 +03:00
RUN go get -v golang.org/x/tools/cmd/vet github.com/88250/ide_stub github.com/nsf/gocode github.com/bradfitz/goimports
2014-11-19 08:31:17 +03:00
2014-11-20 10:52:44 +03:00
WORKDIR /wide/gogogo/src/github.com/b3log/wide
2014-12-13 17:25:11 +03:00
RUN go get -v && go build -v
2014-12-13 17:03:55 +03:00
2014-11-18 07:01:17 +03:00
EXPOSE 7070