aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2017-07-28 20:33:16 -0300
committerFam Zheng <famz@redhat.com>2017-08-15 15:16:45 +0800
commita8132a2f288c260fb43243eb3c092b5186d84968 (patch)
tree91bc891f2fbf93e88fa05a7e4517122eb66160ce /tests
parent06f3c7b852206dfeae886b54ef6ea6ba9f45bdb1 (diff)
docker: add centos7 image
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20170728233316.13352-5-f4bug@amsat.org> Signed-off-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/docker/dockerfiles/centos7.docker31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/docker/dockerfiles/centos7.docker b/tests/docker/dockerfiles/centos7.docker
new file mode 100644
index 0000000000..0b59aa2f26
--- /dev/null
+++ b/tests/docker/dockerfiles/centos7.docker
@@ -0,0 +1,31 @@
+FROM centos:7
+RUN yum install -y epel-release centos-release-xen
+RUN yum -y update
+ENV PACKAGES \
+ bison \
+ bzip2-devel \
+ ccache \
+ csnappy-devel \
+ flex \
+ g++ \
+ gcc \
+ git \
+ glib2-devel \
+ libepoxy-devel \
+ libfdt-devel \
+ librdmacm-devel \
+ lzo-devel \
+ make \
+ mesa-libEGL-devel \
+ mesa-libgbm-devel \
+ pixman-devel \
+ SDL-devel \
+ spice-glib-devel \
+ spice-server-devel \
+ tar \
+ vte-devel \
+ xen-devel \
+ zlib-devel
+RUN yum install -y $PACKAGES
+RUN rpm -q $PACKAGES | sort > /packages.txt
+