]> xenbits.xensource.com Git - xen.git/commitdiff
automation: Ensure that all packages are up-to-dates in CentOS 7 container
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 21 Feb 2023 16:55:37 +0000 (16:55 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 22 Feb 2023 13:04:23 +0000 (13:04 +0000)
This was prompt by the fact that `wget https://xenbits.xenproject.org`
fails with expired certificates, which turned out to be an expired
root certificates. Updating all packages fix the issue.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
automation/build/centos/7.dockerfile

index e688a4cecee326fab738073f5c038e17976d3250..f5264e02d92f721a6f486d33c35fd6cf3fc8a633 100644 (file)
@@ -15,7 +15,8 @@ RUN rpm --rebuilddb && \
     rm -rf /var/cache/yum
 
 # install Xen depends
-RUN yum -y install \
+RUN yum -y update \
+    && yum -y install \
         gcc \
         gcc-c++ \
         ncurses-devel \