diff --git a/ci/maipo b/ci/maipo index dd8ddcf..ffd1d47 100644 --- a/ci/maipo +++ b/ci/maipo @@ -1,17 +1,25 @@ FROM centos:centos7 MAINTAINER Kolab Systems -RUN yum clean metadata && \ - yum -y install \ - epel-release \ - git \ - yum-utils - 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 ENV IMAGE maipo +RUN yum clean metadata && \ + yum -y install \ + epel-release \ + git \ + yum-utils && \ + yum-builddep -y \ + $(yum -d 0 -e 0 \ + --disablerepo=\* \ + --enablerepo=Kolab_Development \ + list available 2>&1 | \ + grep -vE "^(Available Packages|\s+)" | \ + awk '{print $1}' \ + ) + ADD https://cgit.kolab.org/docker/plain/ci/entrypoint.sh / RUN chmod 755 /entrypoint.sh ENTRYPOINT [ "/entrypoint.sh" ]