Fix CVE-2020-8231 34/72034/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sat, 13 Feb 2021 18:38:29 +0000 (19:38 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sat, 13 Feb 2021 18:38:29 +0000 (19:38 +0100)
https://build.opnfv.org/ci/view/functest-kubernetes-trivy/job/functest-kubernetes-opnfv-functest-kubernetes-benchmarking-hunter-trivy/1/console

Change-Id: Icd687fbc1f99a1a741271179dc2289cc884f1bdf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
docker/core/Dockerfile

index 3aa7586..a7e6922 100644 (file)
@@ -8,6 +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 python3 bash git grep libffi openssl mailcap && \
     apk --no-cache add --virtual .build-deps --update \
         python3-dev build-base libffi-dev openssl-dev && \