Fam Zheng <f...@redhat.com> writes: > Signed-off-by: Fam Zheng <f...@redhat.com>
Reviewed-by: Alex Bennée <alex.ben...@linaro.org> > --- > tests/docker/dockerfiles/centos6.docker | 6 ++++++ > tests/docker/dockerfiles/fedora.docker | 7 +++++++ > tests/docker/dockerfiles/ubuntu.docker | 11 +++++++++++ > 3 files changed, 24 insertions(+) > create mode 100644 tests/docker/dockerfiles/centos6.docker > create mode 100644 tests/docker/dockerfiles/fedora.docker > create mode 100644 tests/docker/dockerfiles/ubuntu.docker > > diff --git a/tests/docker/dockerfiles/centos6.docker > b/tests/docker/dockerfiles/centos6.docker > new file mode 100644 > index 0000000..8f4fe46 > --- /dev/null > +++ b/tests/docker/dockerfiles/centos6.docker > @@ -0,0 +1,6 @@ > +FROM centos:6 > +RUN yum install -y \ > + tar git make gcc g++ \ > + zlib-devel glib2-devel SDL-devel pixman-devel \ > + epel-release > +RUN yum install -y libfdt-devel ccache > diff --git a/tests/docker/dockerfiles/fedora.docker > b/tests/docker/dockerfiles/fedora.docker > new file mode 100644 > index 0000000..6251e45 > --- /dev/null > +++ b/tests/docker/dockerfiles/fedora.docker > @@ -0,0 +1,7 @@ > +FROM fedora:23 > +RUN dnf install -y \ > + ccache git tar \ > + glib2-devel pixman-devel zlib-devel SDL-devel libfdt-devel \ > + gcc gcc-c++ clang make perl which bc findutils \ > + > mingw{32,64}-{pixman,glib2,gmp,SDL,pkg-config,gtk2,gtk3,gnutls,nettle,libtasn1,libjpeg-turbo,libpng,curl,libssh2,bzip2} > +ENV FEATURES mingw clang > diff --git a/tests/docker/dockerfiles/ubuntu.docker > b/tests/docker/dockerfiles/ubuntu.docker > new file mode 100644 > index 0000000..725a7ca > --- /dev/null > +++ b/tests/docker/dockerfiles/ubuntu.docker > @@ -0,0 +1,11 @@ > +FROM ubuntu:14.04 > +RUN echo "deb http://archive.ubuntu.com/ubuntu/ trusty universe multiverse" > >> \ > + /etc/apt/sources.list > +RUN apt-get update > +RUN apt-get -y install \ > + libusb-1.0-0-dev libiscsi-dev librados-dev libncurses5-dev \ > + libseccomp-dev libgnutls-dev libssh2-1-dev libspice-server-dev \ > + libspice-protocol-dev libnss3-dev libfdt-dev \ > + libgtk-3-dev libvte-2.90-dev libsdl1.2-dev libpng12-dev libpixman-1-dev \ > + git make ccache python-yaml gcc clang sparse > +ENV FEATURES clang ccache pyyaml -- Alex Bennée