From 16516b1bff8ea90bede911d12e5f766f08f1faef Mon Sep 17 00:00:00 2001 From: kaizhang Date: Mon, 22 Jan 2018 14:48:52 +0800 Subject: [PATCH] use pypi mirror --- lain.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lain.yaml b/lain.yaml index 4c39bf3..e8e8d4f 100644 --- a/lain.yaml +++ b/lain.yaml @@ -3,8 +3,10 @@ appname: console build: base: laincloud/centos-lain:20180103 prepare: - version: "20171213" + version: "20171214" script: + - mkdir -p /root/.pip + - cp -f pip.conf /root/.pip/pip.conf - yum install -y yum-plugin-ovl - yum install -y gcc-c++ - git clone --depth=1 https://github.com/golang/sys.git $GOPATH/src/golang.org/x/sys