2020-07-24 11:53:07 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
[[ ! -e /.dockerenv ]] && exit 0
|
|
|
|
|
|
|
|
set -xe
|
|
|
|
|
|
|
|
apt-get update -yqq
|
2023-06-14 12:51:03 +02:00
|
|
|
apt-get install git libzip-dev unzip parallel libxml2-utils wget wait-for-it libicu-dev -yqq
|
2020-07-24 11:53:07 +02:00
|
|
|
|
|
|
|
php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/local/bin/ --filename=composer
|
|
|
|
chmod +x /usr/local/bin/composer
|
|
|
|
|
2023-06-14 12:51:03 +02:00
|
|
|
docker-php-ext-install pdo_mysql zip mysqli intl
|
2023-12-05 11:03:40 +01:00
|
|
|
cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini
|
|
|
|
awk '/^error_reporting = E_ALL/{print "error_reporting = E_ALL & ~E_DEPRECATED"; next}1' /usr/local/etc/php/php.ini > temp.ini && mv temp.ini /usr/local/etc/php/php.ini
|