diff --git a/Dockerfile b/Dockerfile index b25957f..f24e047 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.7.4 MAINTAINER Liang Ding -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 diff --git a/deps/github.com.tar.gz b/deps/github.com.tar.gz deleted file mode 100644 index 77bad5a..0000000 Binary files a/deps/github.com.tar.gz and /dev/null differ diff --git a/deps/github.com.zip b/deps/github.com.zip new file mode 100644 index 0000000..61f8792 Binary files /dev/null and b/deps/github.com.zip differ diff --git a/deps/golang.org.tar.gz b/deps/golang.org.tar.gz deleted file mode 100644 index 7716398..0000000 Binary files a/deps/golang.org.tar.gz and /dev/null differ diff --git a/deps/golang.org.zip b/deps/golang.org.zip new file mode 100644 index 0000000..ab1b2cc Binary files /dev/null and b/deps/golang.org.zip differ