diff options
author | Ritu Sood <Ritu.Sood@intel.com> | 2020-06-17 05:06:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-06-17 05:06:40 +0000 |
commit | 7b860ae60bf9686b449ab2fe3f18c33944bdd71c (patch) | |
tree | c9efb7bf377a2f33ae64299c98d3161aec5d6f4c /kud/hosting_providers/containerized/installer.sh | |
parent | 964db6a95cfdd82969f6af5a09822929a1862408 (diff) | |
parent | 662f53dd795fbc439b923e09cbf088f613d01003 (diff) |
Merge "optimize size and time using "--no-cache-dir""
Diffstat (limited to 'kud/hosting_providers/containerized/installer.sh')
-rwxr-xr-x | kud/hosting_providers/containerized/installer.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kud/hosting_providers/containerized/installer.sh b/kud/hosting_providers/containerized/installer.sh index fe9d1e9d..5e46d967 100755 --- a/kud/hosting_providers/containerized/installer.sh +++ b/kud/hosting_providers/containerized/installer.sh @@ -33,7 +33,7 @@ function _install_ansible { local version=$(grep "ansible_version" ${kud_playbooks}/kud-vars.yml | awk -F ': ' '{print $2}') mkdir -p /etc/ansible/ - pip install ansible==$version + pip install --no-cache-dir ansible==$version } # install_k8s() - Install Kubernetes using kubespray tool @@ -56,7 +56,7 @@ function install_kubespray { rm $tarball pushd $dest_folder/kubespray-$version/ - pip install -r ./requirements.txt + pip install --no-cache-dir -r ./requirements.txt make mitogen popd rm -f $kud_inventory_folder/group_vars/all.yml 2> /dev/null |