summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>2018-09-17 16:17:20 +0800
committerYang (Gabriel) Yu <Gabriel.yuyang@huawei.com>2018-09-17 16:17:20 +0800
commit071c4d95f28ac00cda1ed5dba9a4bf209b7a66ab (patch)
tree227c4214b58f31e32ade5e42ebd47b6ae1c067d2 /docker
parentd06192b9ff24020cc20f903d939714e2a09a86c2 (diff)
bug-fix: kubectl not installed in Bottlenecks docker
JIRA: BOTTLENECK-246 Resulting in falure in executing k8s capacity test in Bottlenecks CI Change-Id: Ibf94ccc3d9ce6963ddbc76f8e2168b3a841e347b Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index c91a60f1..ef63e3b1 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -49,5 +49,7 @@ RUN git config --global http.sslVerify false
RUN git clone -b $BRANCH https://gerrit.opnfv.org/gerrit/bottlenecks ${BOTTLENECKS_REPO_DIR}
RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR}
+RUN bash ${BOTTLENECKS_REPO_DIR}/utils/k8s_setup/kubectl_install.sh
+
RUN pip install -r ${BOTTLENECKS_REPO_DIR}/requirements/requirements.txt
RUN pip install -U ${BOTTLENECKS_REPO_DIR}