All of lore.kernel.org
 help / color / mirror / Atom feed
From: Doug Goldstein <cardoe@cardoe.com>
To: xen-devel@lists.xenproject.org
Cc: Doug Goldstein <cardoe@cardoe.com>, Wei Liu <wei.liu2@citrix.com>
Subject: [PATCH 1/2] automation: add CentOS 7.x image
Date: Sun, 29 Jul 2018 16:53:15 -0500	[thread overview]
Message-ID: <cc8d5424113b0d6f11f35c512b3408f947c21725.1532901193.git-series.cardoe@cardoe.com> (raw)
In-Reply-To: <cover.e43916f2eba30c83ee3f3fa8bf4d1a71917c71d8.1532901193.git-series.cardoe@cardoe.com>
In-Reply-To: <cover.e43916f2eba30c83ee3f3fa8bf4d1a71917c71d8.1532901193.git-series.cardoe@cardoe.com>

This image will always track the latest CentOS 7.x release. Add this
container to containerize for easy access.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
---
 automation/build/centos/7.dockerfile | 49 +++++++++++++++++++++++++++++-
 automation/scripts/containerize      |  1 +-
 2 files changed, 50 insertions(+)
 create mode 100644 automation/build/centos/7.dockerfile

diff --git a/automation/build/centos/7.dockerfile b/automation/build/centos/7.dockerfile
new file mode 100644
index 0000000..e37d9d7
--- /dev/null
+++ b/automation/build/centos/7.dockerfile
@@ -0,0 +1,49 @@
+FROM centos:7
+LABEL maintainer.name="The Xen Project" \
+      maintainer.email="xen-devel@lists.xenproject.org"
+
+RUN mkdir /build
+WORKDIR /build
+
+# work around https://github.com/moby/moby/issues/10180
+# and add EPEL for dev86
+RUN rpm --rebuilddb && \
+    yum -y install \
+        yum-plugin-ovl \
+        epel-release \
+    && yum clean all && \
+    rm -rf /var/cache/yum
+
+# install Xen depends
+RUN yum -y install \
+        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 \
+        dev86 \
+        xz-devel \
+        bzip2 \
+        nasm \
+    && yum clean all && \
+    rm -rf /var/cache/yum
diff --git a/automation/scripts/containerize b/automation/scripts/containerize
index 7253617..f7f6642 100755
--- a/automation/scripts/containerize
+++ b/automation/scripts/containerize
@@ -15,6 +15,7 @@ die() {
 #
 BASE="registry.gitlab.com/xen-project/xen"
 case "_${CONTAINER}" in
+    _centos7) CONTAINER="${BASE}/centos:7" ;;
     _centos72) CONTAINER="${BASE}/centos:7.2" ;;
     _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;;
     _xenial) CONTAINER="${BASE}/ubuntu:xenial" ;;
-- 
git-series 0.9.1

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

       reply	other threads:[~2018-07-29 21:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.e43916f2eba30c83ee3f3fa8bf4d1a71917c71d8.1532901193.git-series.cardoe@cardoe.com>
2018-07-29 21:53 ` Doug Goldstein [this message]
2018-07-30 14:27   ` [PATCH 1/2] automation: add CentOS 7.x image Wei Liu
2018-07-29 21:53 ` [PATCH 2/2] ci: enable builds with CentOS 7.x Doug Goldstein
2018-07-30 14:27   ` Wei Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cc8d5424113b0d6f11f35c512b3408f947c21725.1532901193.git-series.cardoe@cardoe.com \
    --to=cardoe@cardoe.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.