mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 23:56:12 +01:00
tea/.gitlab/build/docker_install.sh
Tobias Gaertner c818970d6e
install and use wait-for-it for functional tests (#373)
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.
2022-02-01 13:14:00 +01:00

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