blob: e6fa466cb3f5723a27f3ab2de5c1e3f0eea579e5 [file] [log] [blame]
Marc Kupietz44ad2672023-03-01 16:37:05 +01001image: php:8.1-apache
2
3build:
4 stage: build
5 before_script:
6 - apt-get update
7 - apt-get install -y git redis ocrad imagemagick libpng-dev zlib1g-dev zlib1g-dev libzip-dev unzip
8 - docker-php-ext-install zip
9 - docker-php-ext-install gd
10 - curl -sS https://getcomposer.org/installer -o composer-setup.php
11 - php composer-setup.php --install-dir=/usr/local/bin --filename=composer
12 - pear install mail
13 - pear install Net_SMTP
14 - pear install Auth_SASL
15 - pear install mail_mime
16 - composer install
17 - mv config.php.example config.php
18 - rm -rf /var/www/html
19 - ln -s $CI_PROJECT_DIR /var/www/html
20 - service apache2 start
21 script:
22 - curl -s "http://localhost/" | grep Username
23 - curl -s "http://localhost/?type=recover" | grep -e 'Reset your .* password'