Fix CVE-2020-8231 49/72049/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sat, 13 Feb 2021 20:56:02 +0000 (21:56 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sat, 13 Feb 2021 20:58:22 +0000 (21:58 +0100)
https://build.opnfv.org/ci/view/functest-kubernetes-trivy/job/functest-kubernetes-opnfv-functest-kubernetes-benchmarking-iruya-trivy/2/console

Change-Id: I3dac33ee5d292374f28ee7394324f5e27cd0e318
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 29daddcc6e5b8efb2acf51dfa92b3dd82b69c83a)

docker/core/Dockerfile

index 72e4775..e1d55dc 100644 (file)
@@ -8,7 +8,7 @@ COPY Try-a-quick-fix-vs-asynchronuous-issues.patch /tmp/Try-a-quick-fix-vs-async
 COPY Switch-to-threading.Thread-for-Rally-tasks.patch /tmp/Switch-to-threading.Thread-for-Rally-tasks.patch
 COPY Allow-offline-testing-in-PodWithClusterIPSvc.patch /tmp/Allow-offline-testing-in-PodWithClusterIPSvc.patch
 RUN apk -U upgrade && \
-    apk --no-cache add --update libcurl --repository=http://dl-cdn.alpinelinux.org/alpine/v3.11/main && \
+    apk --no-cache add --update libcurl curl --repository=http://dl-cdn.alpinelinux.org/alpine/v3.11/main && \
     apk --no-cache add --update python py-pip bash git grep libffi openssl mailcap && \
     apk --no-cache add --virtual .build-deps --update \
         python-dev build-base libffi-dev openssl-dev && \