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
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 && \