mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 08:56:13 +01:00
tea/.gitlab/build/docker_install.sh
Łukasz Uznański ac59a7ffd2
[TASK] Add test stage to gitlab CI (#103)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
2020-09-22 23:16:08 +02:00

13 lines
339 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 -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