mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2025-04-01 13:03:49 +02:00

It might happen, when starting the fuctional test that the database service container is not ready yet. This patch provides an extra timeout to wait for the service to make sure the test does not fail because of missing database.
13 lines
351 B
Bash
13 lines
351 B
Bash
#!/bin/bash
|
|
|
|
[[ ! -e /.dockerenv ]] && exit 0
|
|
|
|
set -xe
|
|
|
|
apt-get update -yqq
|
|
apt-get install git libzip-dev unzip parallel libxml2-utils wget wait-for-it -yqq
|
|
|
|
php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/local/bin/ --filename=composer
|
|
chmod +x /usr/local/bin/composer
|
|
|
|
docker-php-ext-install pdo_mysql zip mysqli
|