Commit dce7795d authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Cleanup finalize.sh and merge php-finalize.sh into php.sh

parent dabeae1a
......@@ -53,7 +53,6 @@ rm -rf \
/tmp/* \
/var/tmp/* \
/usr/local/src/* \
/usr/include/php/20151012/ext/apcu/ \
#
rm -rf /pd_build
#!/bin/bash
set -e
source /pd_build/buildconfig
set -x
## This script is to be run after php7.0.sh.
## Install common tools
minimal_apt_get_install \
graphicsmagick \
zip \
unzip \
#
# Install composer
curl -sSL https://getcomposer.org/download/1.3.1/composer.phar -o /usr/bin/composer
chmod +x /usr/bin/composer
......@@ -49,4 +49,13 @@ pecl install sqlsrv
echo extension=sqlsrv.so >> /etc/php/7.0/mods-available/sqlsrv.ini
phpenmod sqlsrv
/pd_build/php-finalize.sh
## Install common tools
minimal_apt_get_install \
graphicsmagick \
zip \
unzip \
#
# Install composer
curl -sSL https://getcomposer.org/download/1.3.1/composer.phar -o /usr/bin/composer
chmod +x /usr/bin/composer
......@@ -51,7 +51,6 @@ rm -rf \
/tmp/* \
/var/tmp/* \
/usr/local/src/* \
/usr/include/php/20151012/ext/apcu/ \
#
rm -rf /pd_build
#!/bin/bash
set -e
source /pd_build/buildconfig
set -x
## This script is to be run after php7.1.sh.
## Install common tools
minimal_apt_get_install \
graphicsmagick \
zip \
unzip \
#
# Install composer
curl -sSL https://getcomposer.org/download/1.3.1/composer.phar -o /usr/bin/composer
chmod +x /usr/bin/composer
......@@ -42,4 +42,14 @@ minimal_apt_get_install \
## Enable phar writing
sed -i s/';phar.readonly = On'/'phar.readonly = Off'/ /etc/php/7.1/cli/php.ini
/pd_build/php-finalize.sh
## Install common tools
minimal_apt_get_install \
graphicsmagick \
zip \
unzip \
#
# Install composer
curl -sSL https://getcomposer.org/download/1.3.1/composer.phar -o /usr/bin/composer
chmod +x /usr/bin/composer
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment