diff options
author | 2020-06-22 11:49:46 +0200 | |
---|---|---|
committer | 2020-06-22 14:18:06 +0200 | |
commit | c73dd9d2d0187d93409318f5ec4aea082f0c9684 (patch) | |
tree | 2220e059f70a9d85e1993a900a0aef0fcbf69cac /smoke-usecases-robot/docker/Dockerfile | |
parent | 242950666ad42f4e9523b0fc3cd7c6d71b707103 (diff) |
Resync manually xtesting repo from gitlab.com repo
The goal is to use xtesting once we shall be able to build
all the dockers properly
Issue-ID: INT-1366
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I068eb6019f6eec04b46b545222cbb5cecb265234
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Diffstat (limited to 'smoke-usecases-robot/docker/Dockerfile')
-rw-r--r-- | smoke-usecases-robot/docker/Dockerfile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/smoke-usecases-robot/docker/Dockerfile b/smoke-usecases-robot/docker/Dockerfile index 8dbe29a..5a614c0 100644 --- a/smoke-usecases-robot/docker/Dockerfile +++ b/smoke-usecases-robot/docker/Dockerfile @@ -5,15 +5,23 @@ MAINTAINER Morgan Richomme <morgan.richomme@orange.com> ARG OPENSTACK_TAG=master ARG OPNFV_TAG=master ARG ONAP_TAG=master -ARG PIP_TAG=19.3.1 +ARG PIP_TAG=20.1 +ARG KUBERNETES_VERSION="v1.15.11" ENV TAG all +# Install kubectl +# Note: Latest version may be found on: +# https://aur.archlinux.org/packages/kubectl-bin/ + +ADD https://storage.googleapis.com/kubernetes-release/release/${KUBERNETES_VERSION}/bin/linux/amd64/kubectl /usr/local/bin/kubectl + COPY requirements.txt requirements.txt RUN apk --no-cache add --update openssl chromium chromium-chromedriver && \ apk --no-cache add --virtual .build-deps --update \ python3-dev build-base linux-headers libffi-dev \ openssl-dev libjpeg-turbo-dev && \ + chmod +x /usr/local/bin/kubectl && \ pip3 install --upgrade pip && \ pip3 install --no-cache-dir \ git+https://git.onap.org/testsuite/heatbridge.git@$ONAP_TAG#egg=heatbridge\&subdirectory=heatbridge \ @@ -30,6 +38,8 @@ RUN apk --no-cache add --update openssl chromium chromium-chromedriver && \ mkdir -p /var/opt/ONAP/demo/tosca && cp -Rf /src/demo/tosca/pNF /var/opt/ONAP/demo/tosca/ && \ mkdir -p /demo/service_mapping && cp -Rf /src/demo/service_mapping /demo/ && \ mkdir -p /var/opt/ONAP/demo/preload_data && cp -Rf /src/demo/preload_data /var/opt/ONAP/demo/ && \ + mkdir -p /app && cp /var/opt/ONAP/setup-hvves.sh /app/setup-hvves.sh && \ + chmod +x /app/setup-hvves.sh && \ ln -s /usr/lib/python3.7/site-packages/vcpeutils /usr/lib/python3.7/site-packages/SoUtils && \ ln -s /usr/lib/python3.7/site-packages/heatbridge /usr/lib/python3.7/site-packages/HeatBridge && \ rm -r requirements.txt /var/opt/ONAP/.git /src/demo && \ |