From a399713787402b6b127ad3ed706f86546007fa50 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 13 Mar 2018 11:25:58 +0800 Subject: [PATCH] :whale: Update Dockerfile --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8f5176e..7487fa8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.8.3 +FROM golang:latest MAINTAINER Liang Ding ENV GOROOT /usr/local/go @@ -8,9 +8,7 @@ ENV GOROOT_BOOTSTRAP=/usr/local/gobt 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/\ - && unzip /wide/gogogo/src/github.com/b3log/wide/deps/github.com.zip -d /wide/gogogo/src/\ - && useradd wide && useradd runner +RUN useradd wide && useradd runner ENV GOPATH /wide/gogogo