Add golang.org lib.
This commit is contained in:
parent
4bc97394dc
commit
31ba9f5c5f
@ -8,7 +8,7 @@ MAINTAINER eyeblue "eyebluecn@126.com"
|
|||||||
WORKDIR $GOPATH/src/tank
|
WORKDIR $GOPATH/src/tank
|
||||||
|
|
||||||
# 将tank项目下的所有文件移动到golang镜像中去
|
# 将tank项目下的所有文件移动到golang镜像中去
|
||||||
ADD . $GOPATH/src/tank
|
COPY . $GOPATH/src/tank
|
||||||
|
|
||||||
# 开始编译
|
# 开始编译
|
||||||
RUN ./build/pack/build.sh
|
RUN ./build/pack/build.sh
|
||||||
|
@ -13,9 +13,11 @@ FINAL_NAME=$VERSION_NAME.linux-amd64.tar.gz
|
|||||||
|
|
||||||
cd $GOPATH
|
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"
|
# echo "go get golang.org/x"
|
||||||
# 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
|
# resize image
|
||||||
echo "go get github.com/disintegration/imaging"
|
echo "go get github.com/disintegration/imaging"
|
||||||
|
Loading…
Reference in New Issue
Block a user