File Dockerfile of Package hordeOnLeap15.0

#!BuildTag: my_container
FROM opensuse-leap-15.0:current

# Define your additional repositories here
#RUN zypper ar http://download.opensuse.org/repositories/openSUSE:Tools/openSUSE_Leap_15.0/ "openSUSE:Tools"
RUN zypper ar --no-gpgcheck http://download.opensuse.org/repositories/isv:/B1-Systems:/Horde5:/dependencies/openSUSE_Leap_15.0/ "Horde5_dependencies"
RUN zypper ar --no-gpgcheck http://download.opensuse.org/repositories/isv:/B1-Systems:/Horde5:/rolling/openSUSE_Leap_15.0/ "Horde5_rolling"
RUN zypper ref

# Put additional files into container

ADD root.tar.bz2 /

# Install further packages using zypper
RUN zypper install -y git apache2 apache2-mod_php7 w3m lynx vim vim-data mc php7 php7-fastcgi php7-fpm php-composer npm10 tar
RUN zypper install -y php7-pear php7-pear php7-phar php7-gettext php7-ctype php7-exif php7-fileinfo php7-dom php7-gd php7-json php7-pdo php7-mysql php7-intl php7-ldap php7-mbstring php7-ctype php7-soap php7-opcache php7-openssl php7-pcntl php7-pcntl php7-posix php7-sqlite php7-tokenizer php7-xmlreader php7-xmlwriter php7-xmlrpc php7-tokenizer php7-zip php7-curl
RUN zypper install -y php7-pear-channel-horde php7-pear-Horde_Role gettext gettext-tools php7-pear-Console_Table php7-pear-File_Find live-add-yast-repos

RUN /usr/sbin/a2enmod php7
RUN /usr/sbin/a2enmod rewrite
RUN ln -s /etc/php7/cli/pear.conf /etc/php7/apache2/pear.conf
RUN (cd /usr/share/locale && find -name '*.mo' | xargs rm)
RUN echo "include_path = ".:/srv/www/horde/libs:/usr/share/php7:/usr/share/php7/PEAR"" > /etc/php7/cli/php.ini 
RUN /srv/git/git-tools/bin/horde-git-tools dev install
RUN chown wwwrun:www -R /srv/git/horde/base/config

WORKDIR /srv/www/horde
openSUSE Build Service is sponsored by