aboutsummaryrefslogtreecommitdiffstats
path: root/healthcheck/docker
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2022-10-07 11:52:55 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2022-10-07 12:56:36 +0000
commit0deca819997406ad73edbb82039c301381dc8074 (patch)
tree6566f78473f26a95186421ea25c53dcd4e6b5af8 /healthcheck/docker
parentab52f4145fbd777afcf21490324124ec5b5f7535 (diff)
[ROBOT] Use upper constraints
Installing the newest version of importlib_metadata breaks robot tests execution Use the same upper constraints as in robot smoke tests for healtcheck and benchmark docker images Issue-ID: INT-2160 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I997c7ff47d5439cf2a96e1c67aa3ac4917d57110
Diffstat (limited to 'healthcheck/docker')
-rw-r--r--healthcheck/docker/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/healthcheck/docker/Dockerfile b/healthcheck/docker/Dockerfile
index 3ca0f00..80d64ad 100644
--- a/healthcheck/docker/Dockerfile
+++ b/healthcheck/docker/Dockerfile
@@ -10,6 +10,7 @@ ENV TAG all
ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
COPY requirements.txt requirements.txt
+COPY upper-constraints.txt upper-constraints.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 \
@@ -25,6 +26,7 @@ RUN apk --no-cache add --update openssl chromium chromium-chromedriver && \
pip==$PIP_TAG && \
pip install \
-chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \
+ -cupper-constraints.txt \
-rrequirements.txt && \
mkdir -p /var/opt/ONAP/demo/heat && cp -Rf /src/demo/heat/vFW /var/opt/ONAP/demo/heat/ && \
mkdir -p /demo/service_mapping && cp -Rf /src/demo/service_mapping /demo/ && \