🐳 Update Dockerfile

This commit is contained in:
Liang Ding 2018-03-13 11:25:58 +08:00
parent 9f067a8361
commit a399713787
1 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.8.3 FROM golang:latest
MAINTAINER Liang Ding <d@b3log.org> MAINTAINER Liang Ding <d@b3log.org>
ENV GOROOT /usr/local/go ENV GOROOT /usr/local/go
@ -8,9 +8,7 @@ ENV GOROOT_BOOTSTRAP=/usr/local/gobt
ADD . /wide/gogogo/src/github.com/b3log/wide ADD . /wide/gogogo/src/github.com/b3log/wide
RUN unzip /wide/gogogo/src/github.com/b3log/wide/deps/golang.org.zip -d /wide/gogogo/src/\ RUN useradd wide && useradd runner
&& unzip /wide/gogogo/src/github.com/b3log/wide/deps/github.com.zip -d /wide/gogogo/src/\
&& useradd wide && useradd runner
ENV GOPATH /wide/gogogo ENV GOPATH /wide/gogogo