[Ubuntu] Do not use apt-fast (#4784)

This commit is contained in:
Mikhail Koliada
2021-12-21 19:12:15 +03:00
committed by GitHub
parent 8ad56a1fed
commit 6e09f7e132
2 changed files with 9 additions and 9 deletions

View File

@@ -53,7 +53,7 @@ echo "JAVA_HOME=/usr/lib/jvm/adoptopenjdk-${DEFAULT_JDK_VERSION}-hotspot-amd64"
# add extra permissions to be able execute command without sudo
chmod -R 777 /usr/lib/jvm
# Install Ant
apt-fast install -y --no-install-recommends ant ant-optional
apt-get install -y --no-install-recommends ant ant-optional
echo "ANT_HOME=/usr/share/ant" | tee -a /etc/environment
# Install Maven

View File

@@ -18,7 +18,7 @@ php_versions=$(get_toolset_value '.php.versions[]')
for version in $php_versions; do
echo "Installing PHP $version"
apt-fast install -y --no-install-recommends \
apt-get install -y --no-install-recommends \
php$version \
php$version-amqp \
php$version-apcu \
@@ -65,19 +65,19 @@ for version in $php_versions; do
php$version-zmq
if [[ $version == "5.6" || $version == "7.0" || $version == "7.1" ]]; then
apt-fast install -y --no-install-recommends php$version-mcrypt php$version-recode
apt-get install -y --no-install-recommends php$version-mcrypt php$version-recode
fi
if [[ $version == "7.2" || $version == "7.3" ]]; then
apt-fast install -y --no-install-recommends php$version-recode
apt-get install -y --no-install-recommends php$version-recode
fi
if [[ $version != "8.0" && $version != "8.1" ]]; then
apt-fast install -y --no-install-recommends php$version-xmlrpc php$version-json
apt-get install -y --no-install-recommends php$version-xmlrpc php$version-json
fi
if [[ $version != "5.6" && $version != "7.0" ]]; then
apt-fast install -y --no-install-recommends php$version-pcov
apt-get install -y --no-install-recommends php$version-pcov
# Disable PCOV, as Xdebug is enabled by default
# https://github.com/krakjoe/pcov#interoperability
@@ -85,13 +85,13 @@ for version in $php_versions; do
fi
if [[ $version = "7.0" || $version = "7.1" ]]; then
apt-fast install -y --no-install-recommends php$version-sodium
apt-get install -y --no-install-recommends php$version-sodium
fi
done
apt-fast install -y --no-install-recommends php-pear
apt-get install -y --no-install-recommends php-pear
apt-fast install -y --no-install-recommends snmp
apt-get install -y --no-install-recommends snmp
# Install composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"