diff --git a/ci/maipo b/ci/maipo index 6bc4166..11e7b55 100644 --- a/ci/maipo +++ b/ci/maipo @@ -1,81 +1,81 @@ FROM centos:centos7 MAINTAINER Kolab Systems ADD http://obs.kolabsys.com/repositories/Kolab:/Development/CentOS_7/Kolab:Development.repo \ /etc/yum.repos.d/Kolab:Development.repo RUN rpm --import https://ssl.kolabsys.com/community.asc ADD http://download.opensuse.org/repositories/openSUSE:Tools/CentOS_7/openSUSE:Tools.repo \ /etc/yum.repos.d/openSUSE:Tools.repo RUN rpm --import http://download.opensuse.org/repositories/openSUSE:/Tools/CentOS_7/repodata/repomd.xml.key RUN sed -i -e '/tsflags=nodocs/d' /etc/yum.conf && \ sed -r -i -e 's/enabled\s*=\s*1/enabled=0/g' /etc/yum/pluginconf.d/fastestmirror.conf RUN yum -y reinstall \* ENV IMAGE maipo ADD https://raw.githubusercontent.com/adelton/docker-freeipa/master/dbus.service /etc/systemd/system/dbus.service RUN ln -sf dbus.service /etc/systemd/system/messagebus.service ADD https://raw.githubusercontent.com/adelton/docker-freeipa/master/httpd.service /etc/systemd/system/httpd.service ADD https://raw.githubusercontent.com/adelton/docker-freeipa/master/systemctl /usr/bin/systemctl ADD https://raw.githubusercontent.com/adelton/docker-freeipa/master/systemctl-socket-daemon /usr/bin/systemctl-socket-daemon -RUN chmod -v +x \ +RUN chmod -v a+rx \ /usr/bin/systemctl \ /usr/bin/systemctl-socket-daemon -ADD https://cgit.cyrus.foundation/docker/tree/.vimrc /root/.vimrc +ADD https://cgit.cyrus.foundation/docker/plain/.vimrc /root/.vimrc RUN yum clean all && \ yum -y install epel-release \ yum -y install --skip-broken \ ant \ build \ git \ glibc-devel \ glibc-devel.i686 \ gtk2-devel \ ibus-devel \ java-devel \ osc \ passwd \ perl-Digest-MD5 \ perl-TimeDate \ python-selenium \ rpmdevtools \ sudo \ vim-enhanced \ yum-utils \ @development \ @fedora-packager && \ yum-builddep -y --skip-broken \ $(yum -d 0 -e 0 \ --disablerepo=\* \ --enablerepo=Kolab_Development \ list available 2>&1 | \ grep -vE "^(Available Packages|\s+)" | \ awk '{print $1}' \ ) WORKDIR /srv RUN git clone https://github.com/google/closure-compiler.git closure-compiler.git WORKDIR /srv/closure-compiler.git RUN ant jar WORKDIR /srv RUN git clone https://github.com/SeleniumHQ/selenium.git selenium.git WORKDIR /srv/selenium.git RUN ./go --trace --verbose build WORKDIR /srv ADD https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 /srv/phantomjs-1.9.7-linux-x86_64.tar.bz2 RUN tar jxvf phantomjs-1.9.7-linux-x86_64.tar.bz2 RUN cp phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin ADD https://cgit.kolab.org/docker/plain/ci/entrypoint.sh / RUN chmod 755 /entrypoint.sh ENTRYPOINT [ "/entrypoint.sh" ]