diff options
author | Illia Halych <illia.halych@t-mobile.pl> | 2021-04-07 08:01:58 +0000 |
---|---|---|
committer | morganrol <morgan.richomme@orange.com> | 2021-04-08 14:30:16 +0200 |
commit | df8bba97c602403b421a175b1c577d64177f10a7 (patch) | |
tree | d3f6e33d6c395d577d5b166012a7559b4e23d078 | |
parent | ba4d93fa3218d1024fd547d9f5d975bf05b11e93 (diff) |
[XTESTING] Update Dockerfile: remove editable pip install
Bring back pip install without --editable
Issue-ID: TEST-327
Signed-off-by: Illia Halych <illia.halych@t-mobile.pl>
Change-Id: I482df67a0ca585c601fd3d7288302ef7c0900fc8
Signed-off-by: morganrol <morgan.richomme@orange.com>
-rw-r--r-- | smoke-usecases-pythonsdk/docker/Dockerfile | 6 |
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 |