Add golang.org lib.

This commit is contained in:
hxsherry 2018-01-28 23:21:10 +08:00
parent 4bc97394dc
commit 31ba9f5c5f
2 changed files with 4 additions and 2 deletions

View File

@ -8,7 +8,7 @@ MAINTAINER eyeblue "eyebluecn@126.com"
WORKDIR $GOPATH/src/tank
# 将tank项目下的所有文件移动到golang镜像中去
ADD . $GOPATH/src/tank
COPY . $GOPATH/src/tank
# 开始编译
RUN ./build/pack/build.sh

View File

@ -13,9 +13,11 @@ FINAL_NAME=$VERSION_NAME.linux-amd64.tar.gz
cd $GOPATH
echo "golang.org . Please download from: https://github.com/eyebluecn/golang.org and put in the directory with same level of github.com"
# echo "go get golang.org/x"
# go get golang.org/x
if [ -z "$GOPATH/src/golang.org" ] ; then
git clone https://github.com/eyebluecn/golang.org.git $GOPATH/src/golang.org
fi
# resize image
echo "go get github.com/disintegration/imaging"