From 6c28d2720b03153ce0f00cca33522b7b776fed13 Mon Sep 17 00:00:00 2001 From: Swati Sehgal Date: Thu, 4 Apr 2024 16:03:52 +0100 Subject: [PATCH] Ensure that curl is updated Signed-off-by: Swati Sehgal --- images/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/images/Dockerfile b/images/Dockerfile index 9fd48f3f..8807aee7 100644 --- a/images/Dockerfile +++ b/images/Dockerfile @@ -2,10 +2,15 @@ FROM quay.io/centos/centos:8 RUN cd /etc/yum.repos.d/ && \ sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \ sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* +RUN yum install epel-release -y RUN yum install -y hwdata && yum clean -y all +RUN yum update -y && \ + yum install wget gcc openssl-devel make -y && \ + wget https://curl.haxx.se/download/curl-7.77.0.tar.gz && \ + tar -xvf curl-7.77.0.tar.gz && cd curl-7.77.0 && \ + ./configure --without-ssl && make && make install ADD _out/resource-topology-exporter /bin/resource-topology-exporter RUN mkdir -p /etc/rte /etc/secrets/rte/tls /etc/secrets/rte/ca - ARG GIT_COMMIT ARG VERSION RUN \