⬆️ Upgrade gocode for Docker
This commit is contained in:
parent
7f4df9b4de
commit
b7eb57ac99
|
@ -1,7 +1,7 @@
|
||||||
FROM golang:1.7.4
|
FROM golang:1.7.4
|
||||||
MAINTAINER Liang Ding <dl88250@gmail.com>
|
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
|
ENV GOROOT /usr/local/go
|
||||||
RUN cp -r /usr/local/go /usr/local/gobt
|
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
|
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 unzip /wide/gogogo/src/github.com/b3log/wide/deps/golang.org.zip-d /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/github.com.zip -d /wide/gogogo/src/
|
||||||
|
|
||||||
RUN useradd wide && useradd runner
|
RUN useradd wide && useradd runner
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue