diff options
Diffstat (limited to 'docker/core/Dockerfile')
-rw-r--r-- | docker/core/Dockerfile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile index b6507da1..8ebd2c51 100644 --- a/docker/core/Dockerfile +++ b/docker/core/Dockerfile @@ -1,8 +1,7 @@ -FROM alpine:3.16 +FROM alpine:3.20 ARG BRANCH=master ARG OPENSTACK_TAG=master -ARG OPNFV_TAG=master COPY Try-a-quick-fix-vs-asynchronuous-issues.patch /tmp/Try-a-quick-fix-vs-asynchronuous-issues.patch COPY Switch-to-threading.Thread-for-Rally-tasks.patch /tmp/Switch-to-threading.Thread-for-Rally-tasks.patch @@ -25,16 +24,16 @@ RUN apk -U upgrade && \ (cd /src/functest-kubernetes && \ git fetch --tags https://gerrit.opnfv.org/gerrit/functest-kubernetes $BRANCH && \ git checkout FETCH_HEAD) && \ - pip3 install --use-deprecated=legacy-resolver --no-cache-dir --src /src \ - -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \ + pip3 install --break-system-packages --use-deprecated=legacy-resolver --no-cache-dir --src /src \ + -c/src/functest-kubernetes/upper-constraints.txt \ -c/src/requirements/upper-constraints.txt \ setuptools_scm && \ - pip3 install --use-deprecated=legacy-resolver --no-cache-dir --src /src \ - -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$OPNFV_TAG \ + pip3 install --break-system-packages --use-deprecated=legacy-resolver --no-cache-dir --src /src \ + -c/src/functest-kubernetes/upper-constraints.txt \ -c/src/requirements/upper-constraints.txt \ /src/functest-kubernetes && \ (cd /src/rally && patch -p1 < /tmp/Switch-to-threading.Thread-for-Rally-tasks.patch) && \ - (cd /usr/lib/python3.10/site-packages/xrally_kubernetes/ && \ + (cd /usr/lib/python3.12/site-packages/xrally_kubernetes/ && \ patch -p2 < /tmp/Try-a-quick-fix-vs-asynchronuous-issues.patch) && \ rm -rf /src/functest-kubernetes /tmp/Switch-to-threading.Thread-for-Rally-tasks.patch && \ bash -c "mkdir -p /var/lib/xtesting /home/opnfv" && \ |