[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [dockerfiles PATCH] Update OS when building images



The corresponding libvirt-jenkins-ci commit is dcbad35f45fe.

Signed-off-by: Andrea Bolognani <abologna redhat com>
---
Pushed under the Dockerfile refresh rule.

 buildenv-centos-7.Dockerfile       | 3 ++-
 buildenv-debian-8.Dockerfile       | 1 +
 buildenv-debian-9.Dockerfile       | 1 +
 buildenv-debian-sid.Dockerfile     | 1 +
 buildenv-fedora-27.Dockerfile      | 3 ++-
 buildenv-fedora-28.Dockerfile      | 3 ++-
 buildenv-fedora-rawhide.Dockerfile | 3 ++-
 buildenv-ubuntu-16.Dockerfile      | 1 +
 buildenv-ubuntu-18.Dockerfile      | 1 +
 9 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/buildenv-centos-7.Dockerfile b/buildenv-centos-7.Dockerfile
index 2c4c26d..896bf68 100644
--- a/buildenv-centos-7.Dockerfile
+++ b/buildenv-centos-7.Dockerfile
@@ -65,6 +65,7 @@ ENV PACKAGES audit-libs-devel \
              sudo \
              systemtap-sdt-devel \
              vim
-RUN yum install -y ${PACKAGES} && \
+RUN yum update -y && \
+    yum install -y ${PACKAGES} && \
     yum autoremove -y && \
     yum clean all -y
diff --git a/buildenv-debian-8.Dockerfile b/buildenv-debian-8.Dockerfile
index 8a8c3b0..8877528 100644
--- a/buildenv-debian-8.Dockerfile
+++ b/buildenv-debian-8.Dockerfile
@@ -71,6 +71,7 @@ ENV PACKAGES augeas-tools \
              xsltproc \
              zfs-fuse
 RUN apt-get update && \
+    apt-get dist-upgrade -y && \
     apt-get install -y ${PACKAGES} && \
     apt-get autoremove -y && \
     apt-get autoclean -y
diff --git a/buildenv-debian-9.Dockerfile b/buildenv-debian-9.Dockerfile
index c3af421..0592c97 100644
--- a/buildenv-debian-9.Dockerfile
+++ b/buildenv-debian-9.Dockerfile
@@ -73,6 +73,7 @@ ENV PACKAGES augeas-tools \
              xsltproc \
              zfs-fuse
 RUN apt-get update && \
+    apt-get dist-upgrade -y && \
     apt-get install -y ${PACKAGES} && \
     apt-get autoremove -y && \
     apt-get autoclean -y
diff --git a/buildenv-debian-sid.Dockerfile b/buildenv-debian-sid.Dockerfile
index a922457..2d0310d 100644
--- a/buildenv-debian-sid.Dockerfile
+++ b/buildenv-debian-sid.Dockerfile
@@ -73,6 +73,7 @@ ENV PACKAGES augeas-tools \
              xsltproc \
              zfs-fuse
 RUN apt-get update && \
+    apt-get dist-upgrade -y && \
     apt-get install -y ${PACKAGES} && \
     apt-get autoremove -y && \
     apt-get autoclean -y
diff --git a/buildenv-fedora-27.Dockerfile b/buildenv-fedora-27.Dockerfile
index 2f35a2e..09ec721 100644
--- a/buildenv-fedora-27.Dockerfile
+++ b/buildenv-fedora-27.Dockerfile
@@ -73,6 +73,7 @@ ENV PACKAGES audit-libs-devel \
              wireshark-devel \
              xen-devel \
              zfs-fuse
-RUN yum install -y ${PACKAGES} && \
+RUN yum update -y && \
+    yum install -y ${PACKAGES} && \
     yum autoremove -y && \
     yum clean all -y
diff --git a/buildenv-fedora-28.Dockerfile b/buildenv-fedora-28.Dockerfile
index f4f7198..60afba5 100644
--- a/buildenv-fedora-28.Dockerfile
+++ b/buildenv-fedora-28.Dockerfile
@@ -73,6 +73,7 @@ ENV PACKAGES audit-libs-devel \
              wireshark-devel \
              xen-devel \
              zfs-fuse
-RUN yum install -y ${PACKAGES} && \
+RUN yum update -y && \
+    yum install -y ${PACKAGES} && \
     yum autoremove -y && \
     yum clean all -y
diff --git a/buildenv-fedora-rawhide.Dockerfile b/buildenv-fedora-rawhide.Dockerfile
index 189ea59..33b47e1 100644
--- a/buildenv-fedora-rawhide.Dockerfile
+++ b/buildenv-fedora-rawhide.Dockerfile
@@ -97,6 +97,7 @@ ENV PACKAGES audit-libs-devel \
              wireshark-devel \
              xen-devel \
              zfs-fuse
-RUN yum install -y ${PACKAGES} && \
+RUN yum update -y && \
+    yum install -y ${PACKAGES} && \
     yum autoremove -y && \
     yum clean all -y
diff --git a/buildenv-ubuntu-16.Dockerfile b/buildenv-ubuntu-16.Dockerfile
index bc387a1..c904c6e 100644
--- a/buildenv-ubuntu-16.Dockerfile
+++ b/buildenv-ubuntu-16.Dockerfile
@@ -74,6 +74,7 @@ ENV PACKAGES augeas-tools \
              xsltproc \
              zfs-fuse
 RUN apt-get update && \
+    apt-get dist-upgrade -y && \
     apt-get install -y ${PACKAGES} && \
     apt-get autoremove -y && \
     apt-get autoclean -y
diff --git a/buildenv-ubuntu-18.Dockerfile b/buildenv-ubuntu-18.Dockerfile
index 2a15f14..bbd32c1 100644
--- a/buildenv-ubuntu-18.Dockerfile
+++ b/buildenv-ubuntu-18.Dockerfile
@@ -74,6 +74,7 @@ ENV PACKAGES augeas-tools \
              xsltproc \
              zfs-fuse
 RUN apt-get update && \
+    apt-get dist-upgrade -y && \
     apt-get install -y ${PACKAGES} && \
     apt-get autoremove -y && \
     apt-get autoclean -y
-- 
2.17.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]