Skip to content

Commit

Permalink
Ensure that curl is updated
Browse files Browse the repository at this point in the history
Signed-off-by: Swati Sehgal <[email protected]>
  • Loading branch information
swatisehgal committed Apr 4, 2024
1 parent fb77a1b commit e7f52fa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.80.0.tar.gz && \
tar -xvf curl-7.80.0.tar.gz && cd curl-7.80.0 && \
./configure && 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 \
Expand Down

0 comments on commit e7f52fa

Please sign in to comment.