summaryrefslogtreecommitdiffstats
path: root/ci/maipo
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-05-20 15:34:17 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-05-20 15:34:17 +0200
commit8203685d48be157f4c75149f7effed0e95407d2d (patch)
tree2c0d9c8fcb2b6ce95aa9767b634dbe0db1607ac5 /ci/maipo
parentdbbcc43e86a654b2e2faa004b3dc08f5ebf4bac2 (diff)
downloaddocker-8203685d48be157f4c75149f7effed0e95407d2d.tar.gz
Extend maipo
Diffstat (limited to 'ci/maipo')
-rw-r--r--ci/maipo47
1 files changed, 42 insertions, 5 deletions
diff --git a/ci/maipo b/ci/maipo
index b75ff25..947ee6f 100644
--- a/ci/maipo
+++ b/ci/maipo
@@ -1,5 +1,6 @@
-FROM centos:centos7
+FROM docker.io/centos:centos7
MAINTAINER Kolab Systems <vanmeeuwen@kolabsys.com>
+
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
@@ -8,24 +9,50 @@ ADD http://download.opensuse.org/repositories/openSUSE:Tools/CentOS_7/openSUSE:T
/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
-RUN yum clean metadata && \
- yum -y install \
+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 \
+ /usr/bin/systemctl \
+ /usr/bin/systemctl-socket-daemon
+
+ADD https://cgit.cyrus.foundation/docker/tree/.vimrc /root/.vimrc
+
+RUN yum clean all && \
+ yum -y install epel-release \
+ yum -y install --skip-broken \
ant \
build \
- epel-release \
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 \
+ yum-builddep -y --skip-broken \
$(yum -d 0 -e 0 \
--disablerepo=\* \
--enablerepo=Kolab_Development \
@@ -39,6 +66,16 @@ RUN git clone https://github.com/google/closure-compiler.git closure-compiler.gi
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" ]