[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] ci: add Dockerfile for CentOS 7.2
commit a0f382053fd56226acd24b00779cf649106ed974 Author: Doug Goldstein <cardoe@xxxxxxxxxx> AuthorDate: Mon Mar 12 12:40:45 2018 -0500 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Thu Mar 22 09:04:23 2018 +0000 ci: add Dockerfile for CentOS 7.2 Added a Dockerfile which captures all the necessary dependencies to build Xen on a CentOS 7.2 system. Signed-off-by: Doug Goldstein <cardoe@xxxxxxxxxx> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- automation/build/centos/7.2.dockerfile | 42 +++++++++++++++++++++++++++++++++ automation/build/centos/CentOS-7.2.repo | 35 +++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/automation/build/centos/7.2.dockerfile b/automation/build/centos/7.2.dockerfile new file mode 100644 index 0000000000..c6a1f46d3c --- /dev/null +++ b/automation/build/centos/7.2.dockerfile @@ -0,0 +1,42 @@ +FROM centos:7.2.1511 +LABEL maintainer.name="The Xen Project" \ + maintainer.email="xen-devel@xxxxxxxxxxxxxxxxxxxx" + +# ensure we only get bits from the vault for +# the version we want +COPY CentOS-7.2.repo /etc/yum.repos.d/CentOS-Base.repo + +RUN mkdir /build +WORKDIR /build + +# work around https://github.com/moby/moby/issues/10180 +# and install Xen depends +RUN rpm --rebuilddb && \ + yum -y install \ + yum-plugin-ovl \ + gcc \ + gcc-c++ \ + ncurses-devel \ + zlib-devel \ + openssl-devel \ + python-devel \ + libuuid-devel \ + pkgconfig \ + gettext \ + flex \ + bison \ + libaio-devel \ + glib2-devel \ + yajl-devel \ + pixman-devel \ + glibc-devel \ + glibc-devel.i686 \ + make \ + binutils \ + git \ + wget \ + acpica-tools \ + python-markdown \ + patch \ + checkpolicy \ + && yum clean all diff --git a/automation/build/centos/CentOS-7.2.repo b/automation/build/centos/CentOS-7.2.repo new file mode 100644 index 0000000000..4da27faeb5 --- /dev/null +++ b/automation/build/centos/CentOS-7.2.repo @@ -0,0 +1,35 @@ +# CentOS-Base.repo +# +# This is a replacement file that pins things to just use CentOS 7.2 +# from the CentOS Vault. +# + +[base] +name=CentOS-7.2.1511 - Base +baseurl=http://vault.centos.org/7.2.1511/os/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#released updates +[updates] +name=CentOS-7.2.1511 - Updates +baseurl=http://vault.centos.org/7.2.1511/updates/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that may be useful +[extras] +name=CentOS-7.2.1511 - Extras +baseurl=http://vault.centos.org/7.2.1511/extras/$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + +#additional packages that extend functionality of existing packages +[centosplus] +name=CentOS-7.2.1511 - Plus +baseurl=http://vault.centos.org/7.2.1511/centosplus/$basearch/ +gpgcheck=1 +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 + -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |