diff options
author | morganrol <morgan.richomme@orange.com> | 2022-01-04 10:03:04 +0100 |
---|---|---|
committer | morganrol <morgan.richomme@orange.com> | 2022-01-04 10:03:04 +0100 |
commit | b8988e73c813c463b943638e9849da59229a2223 (patch) | |
tree | 15eff754a97e821308be7ba2b42f799cc6eb494b | |
parent | a2b118029680f62e053211a9fd9443308286a31c (diff) |
[PYTHONSDK] Fix pyyaml issue
Due to the introduction of pyyaml in the tox,
the docker build may have issue
Cannot uninstall 'PyYAML'. It is a distutils installed project and
thus we cannot accurately determine which files belong to it which
would lead to only a partial uninstall.
Adding the pip option --ignore-installed avoid any issue
Issue-ID: TEST-377
Signed-off-by: morganrol <morgan.richomme@orange.com>
Change-Id: I85dcc0a08db7998d2cb3407ad91200fba48b1fd6
-rw-r--r-- | smoke-usecases-pythonsdk/docker/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smoke-usecases-pythonsdk/docker/Dockerfile b/smoke-usecases-pythonsdk/docker/Dockerfile index 3a44520..32c0016 100644 --- a/smoke-usecases-pythonsdk/docker/Dockerfile +++ b/smoke-usecases-pythonsdk/docker/Dockerfile @@ -13,7 +13,7 @@ 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 --no-cache-dir \ + pip3 install --ignore-installed --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 && \ |