⬆️ Upgrade gocode for Docker

This commit is contained in:
Liang Ding 2017-01-23 20:04:09 +08:00
parent 7f4df9b4de
commit b7eb57ac99
5 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
FROM golang:1.7.4
MAINTAINER Liang Ding <dl88250@gmail.com>
RUN apt-get update && apt-get install bzip2
RUN apt-get update && apt-get install bzip2 zip unzip
ENV GOROOT /usr/local/go
RUN cp -r /usr/local/go /usr/local/gobt
@ -13,8 +13,8 @@ RUN cd /usr/local/go/src && export GOOS=windows && export GOARCH=amd64 && ./make
ADD . /wide/gogogo/src/github.com/b3log/wide
RUN tar zxf /wide/gogogo/src/github.com/b3log/wide/deps/golang.org.tar.gz -C /wide/gogogo/src/
RUN tar zxf /wide/gogogo/src/github.com/b3log/wide/deps/github.com.tar.gz -C /wide/gogogo/src/
RUN unzip /wide/gogogo/src/github.com/b3log/wide/deps/golang.org.zip-d /wide/gogogo/src/
RUN unzip /wide/gogogo/src/github.com/b3log/wide/deps/github.com.zip -d /wide/gogogo/src/
RUN useradd wide && useradd runner

BIN
deps/github.com.tar.gz vendored

Binary file not shown.

BIN
deps/github.com.zip vendored Normal file

Binary file not shown.

BIN
deps/golang.org.tar.gz vendored

Binary file not shown.

BIN
deps/golang.org.zip vendored Normal file

Binary file not shown.