From 234cdf02139828f3458396734826fe31b45df63f Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Wed, 9 Oct 2019 14:34:46 +0200 Subject: [PATCH] Add the uuid extension. Some tests use it. --- root/tmp/setup/php-extensions.sh | 6 +++--- tests/fixtures/test.php | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/root/tmp/setup/php-extensions.sh b/root/tmp/setup/php-extensions.sh index 069aa2f..68d25d5 100755 --- a/root/tmp/setup/php-extensions.sh +++ b/root/tmp/setup/php-extensions.sh @@ -7,7 +7,7 @@ echo "Installing apt dependencies" # Build packages will be added during the build, but will be removed at the end. BUILD_PACKAGES="gettext gnupg libcurl4-openssl-dev libfreetype6-dev libicu-dev libjpeg62-turbo-dev \ libldap2-dev libmariadbclient-dev libmemcached-dev libpng-dev libpq-dev libxml2-dev libxslt-dev \ - unixodbc-dev" + unixodbc-dev uuid-dev" # Packages for Postgres. PACKAGES_POSTGRES="libpq5" @@ -59,8 +59,8 @@ docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ docker-php-ext-install -j$(nproc) ldap # Memcached, MongoDB, Redis, APCu, igbinary. -pecl install memcached mongodb redis apcu igbinary -docker-php-ext-enable memcached mongodb redis apcu igbinary +pecl install memcached mongodb redis apcu igbinary uuid +docker-php-ext-enable memcached mongodb redis apcu igbinary uuid # ZIP docker-php-ext-configure zip --with-libzip diff --git a/tests/fixtures/test.php b/tests/fixtures/test.php index ad31703..9694567 100644 --- a/tests/fixtures/test.php +++ b/tests/fixtures/test.php @@ -18,6 +18,7 @@ 'xsl', 'xmlrpc', 'zip', + 'uuid' ]; $buffer = '';;