1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-27 07:42:29 +01:00
php-e107/lib/ci/setup.sh

21 lines
470 B
Bash
Executable File

#!/bin/bash
apt-get update
apt-get install -y git zip libzip-dev
pecl install zip
docker-php-ext-enable zip
pecl install xdebug
docker-php-ext-enable xdebug
docker-php-ext-install pdo_mysql
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php -r "unlink('composer-setup.php');"
php composer.phar install
php composer.phar update
git submodule update --init --recursive --remote
cp ./lib/ci/config.ci.yml ./config.yml