diff mbox series

[1/3] automation: add a Fedora image

Message ID 20190404112302.4796-2-wei.liu2@citrix.com (mailing list archive)
State New, archived
Headers show
Series automation: add Fedora image and build jobs | expand

Commit Message

Wei Liu April 4, 2019, 11:23 a.m. UTC
Use the latest and greatest.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 automation/build/fedora/latest.dockerfile | 43 +++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 automation/build/fedora/latest.dockerfile
diff mbox series

Patch

diff --git a/automation/build/fedora/latest.dockerfile b/automation/build/fedora/latest.dockerfile
new file mode 100644
index 0000000000..e0db7afad8
--- /dev/null
+++ b/automation/build/fedora/latest.dockerfile
@@ -0,0 +1,43 @@ 
+FROM fedora:latest
+LABEL maintainer.name="The Xen Project" \
+      maintainer.email="xen-devel@lists.xenproject.org"
+
+RUN mkdir /build
+WORKDIR /build
+
+# install Xen depends
+RUN dnf -y install \
+        clang \
+        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 \
+        ocaml \
+        ocaml-findlib \
+    && dnf clean all && \
+    rm -rf /var/cache/dnf