mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-26 14:16:12 +01:00
tea/.gitlab/build/docker_install.sh
Łukasz Uznański 0c972ed7f6
[TASK] Add base gitlab ci composer build (#80)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.pl>
2020-07-24 11:53:07 +02:00

13 lines
No EOL
293 B
Bash

#!/bin/bash
[[ ! -e /.dockerenv ]] && exit 0
set -xe
apt-get update -yqq
apt-get install git libzip-dev unzip -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 zip