aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2021-04-10 16:37:40 +0000
committerGerrit Code Review <gerrit@onap.org>2021-04-10 16:37:40 +0000
commitc9214f44b600beca1b38b0867df2ed75e062c34d (patch)
tree0afe2e0f72d08d00fffb6d24b4e578507fcd362a
parentb1d60f22c96e898e5c321a4122034a3746b9dd8d (diff)
parentdf8bba97c602403b421a175b1c577d64177f10a7 (diff)
Merge "[XTESTING] Update Dockerfile: remove editable pip install"
-rw-r--r--smoke-usecases-pythonsdk/docker/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/smoke-usecases-pythonsdk/docker/Dockerfile b/smoke-usecases-pythonsdk/docker/Dockerfile
index f6b6c96..f91d47f 100644
--- a/smoke-usecases-pythonsdk/docker/Dockerfile
+++ b/smoke-usecases-pythonsdk/docker/Dockerfile
@@ -3,7 +3,7 @@ FROM opnfv/xtesting
MAINTAINER Morgan Richomme <morgan.richomme@orange.com>
ARG ONAP_TESTS_TAG=master
-ARG ONAPSDK_PYTHON_PATH=/src/onapsdk
+ARG ONAPSDK_PYTHON_PATH=/usr/lib/python3.8/site-packages/onapsdk
ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
@@ -11,8 +11,8 @@ RUN apk add --no-cache python3 git && \
apk add --no-cache --virtual .build-deps libffi-dev python3-dev \
gcc openssl-dev linux-headers musl-dev && \
pip3 install --upgrade pip && \
- pip3 install --editable \
- git+https://gerrit.onap.org/r/testsuite/pythonsdk-tests@$ONAP_TESTS_TAG#egg=onaptests && \
+ pip3 install --no-cache-dir \
+ git+https://gerrit.onap.org/r/testsuite/pythonsdk-tests@$ONAP_TESTS_TAG && \
mkdir -p $ONAPSDK_PYTHON_PATH/clamp && \
wget -O $ONAPSDK_PYTHON_PATH/clamp/schema_details.json https://gitlab.com/Orange-OpenSource/lfn/onap/python-onapsdk/-/raw/develop/src/onapsdk/clamp/schema_details.json && \
apk del .build-deps