aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2016-08-09 10:15:08 +0800
committerFam Zheng <famz@redhat.com>2016-09-08 19:56:34 +0800
commit9af4c174a38c345e36f8320f8bb7de64661bb18a (patch)
tree7dde7e80d05d624ffd48633399af189dd66bf2e0 /tests
parent2926375cffce464fde6b4dabaed1e133d549af39 (diff)
docker: Add a glib2-2.22 image
It's a variation of our existing centos6, plus two more lines to downgrade glib2 to version 2.22 which we download from vault.centos.org. Suggested-by: Paolo Bonzini <pbonzoni@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <1470708908-12885-1-git-send-email-famz@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/docker/dockerfiles/min-glib.docker8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/docker/dockerfiles/min-glib.docker b/tests/docker/dockerfiles/min-glib.docker
new file mode 100644
index 0000000000..9f542d5e9c
--- /dev/null
+++ b/tests/docker/dockerfiles/min-glib.docker
@@ -0,0 +1,8 @@
+FROM centos:6
+RUN yum install -y \
+ tar git make gcc g++ \
+ zlib-devel SDL-devel pixman-devel \
+ epel-release
+RUN yum install -y libfdt-devel ccache
+RUN yum downgrade -y http://vault.centos.org/6.0/os/x86_64/Packages/glib2-2.22.5-5.el6.x86_64.rpm
+RUN yum install -y http://vault.centos.org/6.0/os/x86_64/Packages/glib2-devel-2.22.5-5.el6.x86_64.rpm