Commit Graph

313 Commits (1acba8984b19b1bab1e4d5b83313856a09040cc4)

Author SHA1 Message Date
Michele Locati f518acbe3b
Updates after new pickle version
The new pickle version doesn't require the ZIP php extension anymore.
In addition, it can handle versions much better.

Test: swoole, xdebug, xhprof, pdo_sqlsrv, sqlsrv, igbinary, seaslog, zstd
2021-01-25 18:21:19 +01:00
Michele Locati e6ec222430
Add support for zstd 2021-01-25 17:29:24 +01:00
Michele Locati c2d61adf13
Use recent smbclient version even on old Alpine versions
Thanks to https://github.com/eduardok/libsmbclient-php/issues/79
it's now possible again even on old Alpine versions.

Test: smbclient
2021-01-22 08:39:15 +01:00
Michele Locati da5be4b1cd
Fix installing smbclient on old Alpine Linux versions
Test: smbclient
2021-01-21 17:31:52 +01:00
Michele Locati 02517f0882
Install the Microsoft SQL Server ODBC Driver when installing sqlsrv/pdo_sqlsrv 2021-01-20 14:36:38 +01:00
Michele Locati f75c4ea5ed
Add support for SeasLog 2021-01-19 14:40:27 +01:00
Michele Locati fdabd380c4
Fix installing HTTP extension with PHP 7.x
Test: http
2021-01-17 15:56:14 +01:00
Michele Locati e7146a11e3
Add support for gearman 2021-01-17 14:59:56 +01:00
Michele Locati 4d9dda234e
Fix installing igbinary with PHP 8
Test: igbinary
2021-01-16 21:26:09 +01:00
Michele Locati 7476e5eb48
Add support for sqlsrv/pdo_sqlsrv with PHP 8.0 2021-01-16 21:03:25 +01:00
Aleksandr Fedotov b223ced707
Zstandard parameterized url
Test: redis
2021-01-16 12:50:35 +03:00
Michele Locati 93322b87d0
Add script version 2021-01-14 17:25:12 +01:00
Michele Locati 1560e9a21e
Instruct composer to not use cache when building pickle
...lest save some space in the final Docker image...

Test: xdebug
2021-01-14 15:29:26 +01:00
Michele Locati 8275f0e1a8
Speedup apt-get operations in Debian Jessie 2021-01-14 14:47:26 +01:00
Michele Locati c417aa1be1
Fix installing rdkafka in PHP 5.6
See https://mlocati.github.io/pecl-info/#rdkafka

Test: rdkafka
2021-01-14 14:21:25 +01:00
Michele Locati 6d90a6ea5e
Update configuration options for mongo and swoole
Test: mongo, swoole
2021-01-13 10:51:42 +01:00
Michele Locati d9ac72aa70
Fix installing swoole with PHP 7.1
Test: swoole
2021-01-10 13:31:36 +01:00
Michele Locati 1071e63fc9
Add support for yar 2021-01-05 15:16:27 +01:00
Michele Locati a8405cbf23
Add support for smbclient 2021-01-03 15:05:52 +01:00
Michele Locati 10d505884b
Sort cases 2021-01-03 14:44:24 +01:00
Michele Locati f3598496b3
Add support for xlswriter 2021-01-02 20:59:06 +01:00
Michele Locati 202b39b541
Add support for snuffleupagus with PHP 8.0 2021-01-02 20:32:28 +01:00
Michele Locati 8b09c8b3f5
Add support for xhprof with PHP 8.0 2020-12-30 15:38:50 +01:00
Michele Locati 2bfea03a98
Fix installing custom version of snuffleupagus
Test: snuffleupagus
2020-12-30 15:31:36 +01:00
Michele Locati b4309d652e
Add support pdo_oci
Test: oci8
2020-12-28 12:40:27 +01:00
Michele Locati a87095a3d6
Add support for amqp with PHP 8.0 2020-12-22 19:10:28 +01:00
Michele Locati a814bd12a7
Build imagick from master on PHP 8.0
Test: imagick
2020-12-17 16:56:48 +01:00
Michele Locati 43e69d06bb
Rename installPECLModule to installRemoteModule 2020-12-17 10:16:03 +01:00
Michele Locati ad107130be
Install snuffleupagus 0.6.0 instead of 0.5.0 by default
Test: snuffleupagus
2020-12-17 10:02:43 +01:00
Michele Locati edef31bb85
Install libcmark 0.29.0 instead of 0.28.3
Test: cmark
2020-12-17 09:28:37 +01:00
Michele Locati f36e6490a7
Fix installing AMQP on non-Debian PHP 5.5 images
Test: amqp
2020-12-17 08:48:56 +01:00
Michele Locati 410fb2f142
Add support for DB4 to DBA
Test: dba
2020-12-16 19:22:14 +01:00
Michele Locati 44d31defbf
Add support for swoole 2020-12-16 17:16:56 +01:00
Michele Locati 0f273c531f
Fix bug in anyStringInList 2020-12-16 16:41:53 +01:00
Michele Locati a90d5311d5
Install pickle from master when required
I'm starting to really dislike pickle... :(
2020-12-16 12:52:52 +01:00
Michele Locati 816a5a2a11
Add support for installing composer 2020-12-16 11:47:44 +01:00
Michele Locati 315be9631b
Add support for gnupg 2020-12-14 17:49:59 +01:00
Michele Locati 67afc0d2a4
Use TARGET_TRIPLET instead of hard-coded x86_64-linux-gnu
Test: gmp,mssql,pdo_dblib
2020-12-14 16:52:00 +01:00
Michele Locati 35feca8b12
Define TARGET_TRIPLET
Test: ldap,oci8,redis
2020-12-14 16:49:00 +01:00
Michele Locati 907cb0b9a7
Use latest Oracle InstantClient on Alpine Linux too
Thanks @mvorisek!

Test: oci8
2020-12-14 16:27:16 +01:00
Michele Locati 981d860f79
Add support for oci8 2020-12-11 15:16:48 +01:00
Michele Locati f994620977
Exit the script if curl fails
Test: xdebug,zookeeper
2020-12-11 15:08:05 +01:00
Michele Locati 6db092eddc
Add support for maxminddb 2020-12-10 18:06:36 +01:00
Michele Locati 4e3bfe4acc
Add support for ionCube Loader 2020-12-10 15:37:13 +01:00
Michele Locati a23eec221e
New supported extensions for PHP 8.0: odbc 2020-12-09 10:56:20 +01:00
Michele Locati 97655cee86
Fix installation of pdo_dblib on debian/PHP8.0 2020-12-09 09:41:56 +01:00
Michele Locati 45e336b383
Fix installation of memcache on PHP 7.x
Test: memcache
2020-12-07 20:31:44 +01:00
Michele Locati f343b1dcde
Install xdebug 3.0.1 instead of 3.0.0 by default
I really miss a stable version of pickle ;_;

Test: xdebug
2020-12-07 19:32:18 +01:00
Michele Locati 269f29456a
Fix installation of zookeeper in Alpine linux
Test: zookeeper
2020-12-07 19:19:02 +01:00
Christian Rodriguez Benthake 5b093ab46c
set min php version for mongodb to 1.9.0 2020-12-07 13:23:32 +01:00
Michele Locati 3e126e5e14
Let imagick understand SVG
Test: imagick
2020-12-03 18:37:42 +01:00
Michele Locati ed1957624c
Fix installation of gRPC on PHP 5.x, support gRPC on PHP 8 2020-12-03 17:04:54 +01:00
Michele Locati 4ee43e5429
Let users install a specific PHP module version
Test: amqp,apcu,gmagick,http,pecl_http,igbinary,memcache,mailparse,memcached,mongodb,mosquitto,msgpack,oauth,opencensus,parallel,pcov,pdo_sqlsrv,sqlsrv,propro,protobuf,pthreads,raphf,rdkafka,redis,solr,ssh2,uuid,xdebug,uopz,xhprof,yaml
2020-12-03 15:29:09 +01:00
Michele Locati deae635790
Avoid workaround for PECL issue with ssh2
https://bugs.php.net/bug.php?id=78560 has been resolved

Test: ssh2
2020-12-02 18:48:55 +01:00
Michele Locati 6a95436f32
Use redis version from pecl, even with PHP 8
Test: redis
2020-12-02 18:21:43 +01:00
Michele Locati 361e717e37
Merge pull request #187 from clevyr/mosquitto
Add support for Mosquitto
2020-11-28 14:53:15 +01:00
Gabe Cook 4745ca013e
Add support for Mosquitto 2020-11-25 14:54:39 -06:00
Michele Locati 8c39514518
Install Xdebug 3 on PHP 7.2+, fix installation of Xdebug on PHP 7.1
Test: xdebug
2020-11-25 19:18:48 +01:00
Michele Locati 6e520b57ed
Fix building ldap for 32-bit OSs
Test: ldap, redis
2020-11-10 16:54:39 +01:00
Michele Locati 38b97cafff
Update license year 2020-11-06 18:22:38 +01:00
Michele Locati 83b7fca129
Don't assume than nproc is available
Test: bcmath, gmp, cmark, decimal
2020-11-03 15:37:47 +01:00
Michele Locati 912d648edd
Don't use the "--defaults" pickle flag 2020-10-18 23:42:55 +02:00
Michele Locati 9d3ed12e13
Silently download pickle 2020-10-18 21:51:43 +02:00
Michele Locati 7ce5742d88
Always work with normalized PHP module names 2020-10-18 19:06:39 +02:00
Michele Locati 5e68f9119e
List preinstalled modules just once
Test: pdo, mbstring, SimpleXML
2020-10-18 18:41:13 +02:00
Michele Locati dbf6ac51e8
Simplify sortModulesToInstall
Test: igbinary, msgpack, apcu_bc, http
2020-10-18 18:17:37 +02:00
Michele Locati 80e3497c2f
Let's be sure that this script is executed in a correct Docker image
Test: xdebug
2020-09-21 15:45:54 +02:00
Michele Locati 3c272ff906
Support redis with PHP 8 2020-09-21 15:06:43 +02:00
Michele Locati 9e390295b3
Support xdebug with PHP 8 2020-09-21 14:50:13 +02:00
Fred Cox f15031994b fixes for enchant extension on alpine3.12
disable enchant on some version/distro combos
2020-09-18 22:05:08 +03:00
Fred Cox 7ce97ab6ed Support for using pickle as drop in for pecl on php 8 2020-09-18 21:04:38 +03:00
Michele Locati e39841af1b
Enable parallel compilation for many pecl extensions
Test: amqp, bcmath, bz2, calendar, exif, gd, gettext, grpc, imagick, intl, mysqli, opcache, pcntl, pdo_mysql, protobuf, redis, soap, sockets, tidy, xdebug, xsl, yaml, zip
2020-08-19 17:00:26 +02:00
Michele Locati 8fa54b93b9
Fix protobuf for PHP 5.x 2020-08-18 10:03:06 +02:00
Michele Locati 9930171800
Use mondodb 1.7.5 for PHP 5.6
Test: mongodb
2020-07-31 18:18:08 +02:00
Michele Locati 7ef81a96dc
Execute pecl channel-update pecl.php.net
Fixes this warning:
channel "pecl.php.net" has updated its protocols,
use "pecl channel-update pecl.php.net" to update
2020-07-31 18:16:35 +02:00
Michele Locati c9b1a5d48d
Ignore zookeeper compilation warnings 2020-07-27 17:35:20 +02:00
Michele Locati 476e710e91
Simplyfy installation of zookeeper 2020-07-27 17:06:03 +02:00
Michele Locati f3b4e640f8
Add support for zookeeper 2020-07-27 16:50:21 +02:00
Michele Locati bf7d0bd764
Simplify buildRequiredPackageLists and installBundledModule 2020-07-27 14:30:14 +02:00
Michele Locati 12844b49ab
Simplify installPECLModule 2020-07-27 12:19:04 +02:00
Michele Locati 1d163ae6ea
Merge pull request #149 from fedotov-as/feature/apcu_bc
Add support for apcu_bc
2020-06-15 17:41:46 +02:00
Michele Locati ee2e6917ec
Use PECL to install igbinary
Test: igbinary, igbinary+memcached, igbinary+redis, igbinary+memcached+redis
2020-06-15 17:17:15 +02:00
Aleksandr Fedotov d169c1fa49
Add support for apcu_bc
Test: apcu_bc
2020-05-24 19:40:39 +03:00
Aleksandr Fedotov 51df372d19
Add compatibility memcached with msgpack
Test: msgpack+memcached
2020-05-24 15:27:36 +03:00
Michele Locati 85a9effc11
Add support for XHProf 2020-04-30 09:02:29 +02:00
Michele Locati 0fef060c56
Use YAML version 2.0.4 for PHP 7.0
Test: yaml
2020-04-25 14:29:37 +02:00
Michele Locati 347a4d482c
Fix sqlsrv/pdo_sqlsrv because of recent changes
Test: pdo_sqlsrv, sqlsrv
2020-04-16 14:21:23 +02:00
Michele Locati 1deeb6d656
tdlib: support more PHP versions 2020-03-03 12:09:28 +01:00
Michele Locati 219f2b89ce
Add support for tdlib 2020-03-02 18:36:35 +01:00
Michele Locati 4665719b92
Define DISTRO and DISTRO_VERSION
So that we don't have to call getDistro and getDistroVersion many times
2020-02-28 11:09:15 +01:00
Michele Locati d15134f374
Lint 2020-02-27 23:52:04 +01:00
Michele Locati d4a9ef7b68
Use codeload URL for snuffleupagus 2020-02-27 23:52:04 +01:00
Michele Locati a1ea13ff04
Don't download snuffleupagus source code twice 2020-02-27 23:52:03 +01:00
Michele Locati 7ffbb142a4
Switch to src only for snuffleupagus
We can't assume that any other present or future package won't contain
a "src" directory we shouldn't "cd" into.

Also, we have to invoke "cd" just once, otherwise the next "cd -" will
enter the wrong directory.
2020-02-27 23:52:02 +01:00
Michele Locati 7306861194
Simplify configuration 2020-02-27 23:52:01 +01:00
Michele Locati 4b24eb6110
Remove unneeded packages 2020-02-27 23:49:30 +01:00
Konstantin A. Lepikhov ccd5dcbbb3 add debian support 2020-02-27 21:51:55 +01:00
Konstantin A. Lepikhov 6000437aac installModuleFromSource: another formatting fix 2020-02-27 21:08:14 +01:00
Konstantin A. Lepikhov f0b82f028b installModuleFromSource: fix formatting 2020-02-27 21:05:25 +01:00
Konstantin A. Lepikhov 796d556072 snuffleupagus: enable .rules
This module uses very strict defaults which block almost everything.
2020-02-27 20:59:35 +01:00
Konstantin A. Lepikhov 310d89ade2 added snuffleupagus ext support 2020-02-27 15:43:33 +01:00
Michele Locati 5a7e9a9fda
Use latest version of mongodb
Test: mongodb
2020-02-25 10:58:17 +01:00
Heverton Coneglian de Freitas 4659f9c3ba
Add support for ffi 2020-02-17 09:29:17 -03:00
Michele Locati 3454c8f7d7
Add support for oauth extension 2020-02-16 18:28:30 +01:00
Michele Locati 122141976c
Temporarily use old version of mongodb
See https://jira.mongodb.org/browse/CDRIVER-3541
2020-02-16 16:42:47 +01:00
Michele Locati 069a637113
Run apk update before determining the required Alpine packages
We should need the updated package list when building the dependency list
2020-02-16 16:42:09 +01:00
Yannoff 08727c5685
[ext-imap] Fix dependencies on Alpine 3.11 2020-02-16 16:42:09 +01:00
Michele Locati 7322b1da6a
Fix grpc on Alpine 3.11 2020-02-16 16:42:08 +01:00
Michele Locati cd6fbbd684
Don't upgrade Debian packages
This should speed up tests a lot

Test: zip
2020-02-15 20:45:15 +01:00
Michele Locati 61dc6b4d4b
Add support for decimal 2020-02-04 09:54:02 +01:00
Michele Locati c2e185457f
Support more extensions for PHP 5.5 2020-02-03 08:26:38 +01:00
Michele Locati 56d8a624f0
Support more extensions for PHP 5.5 2020-01-31 16:40:57 +01:00
Michele Locati ea96de853e
Start adding support for PHP 5.5 2020-01-31 11:09:13 +01:00
Michele Locati d45b59d6b8
Update APT packages
They'd be upgraded anyway when we restore them
2020-01-31 10:42:16 +01:00
Michele Locati 8b5078f47f
Restore previously installed APT packages 2020-01-23 14:50:55 +01:00
Michele Locati 7a0cd3f010
Fix libc-client-dev clashing with libssl1.0-dev on Debian 9 (stretch) 2020-01-22 13:45:22 +01:00
Michele Locati 6a5f6be406
Add support for gmagick 2020-01-07 11:38:04 +01:00
Michele Locati 8bd74ab1e1
Add support for http extension 2019-12-24 15:09:07 +01:00
Michele Locati c6e0577456
Add support for propro 2019-12-24 10:33:31 +01:00
Michele Locati e8cf38713b
Add support for raphf 2019-12-24 10:20:45 +01:00
Michele Locati ce5cfcddf4
CD quieter
Test: cmark, igbinary, interbase, odbc, opencensus, pdo_firebird
2019-12-24 09:19:56 +01:00
Michele Locati 01a3875052
Enable zstd support for redis
Test: redis
2019-12-24 09:01:20 +01:00
Michele Locati bdb50d019f
Add support for mailparse 2019-12-23 17:38:09 +01:00
Michele Locati b90cff082b
Be more strict about imagick dependencies
Test: imagick
2019-12-23 15:12:18 +01:00
Michele Locati 5314a59565
Fix SSL dependencies on Debian 9 (stretch)
Test: mongo, mongodb, amqp+zip
2019-12-23 12:45:53 +01:00
Michele Locati f3c663103a
Improve package install errors handling 2019-12-23 12:40:28 +01:00
Michele Locati 9c33fa11b5
Fix handling of buildRequiredPackageLists output 2019-12-23 11:53:13 +01:00
Minh-Quan TRAN 39c51f48b8
fix libssl for alpine
Test: mongo, mongodb, imap, mongo+imap, mongodb+imap

Signed-off-by: Minh-Quan TRAN <account@itscaro.me>
2019-12-23 11:24:57 +01:00
Michele Locati 7e3472cbde
Fix rdkafka on Jessie
Test: rdkafka
2019-12-23 11:15:29 +01:00
Michele Locati 973a713b32
Fix SSL/snappy dependencies on Debian
Test: mongo, mongodb, zip

Co-authored-by: Michele Locati <michele@locati.it>
Co-authored-by: Quan TRAN <itscaro@users.noreply.github.com>
2019-12-23 10:45:10 +01:00
Michele Locati 6bd710afa3
Fix ldap on Alpine
Test: ldap
2019-12-23 09:46:35 +01:00
Michele Locati 50ef92b35f
Fix Intl dependencies on Debian Jessie
Test: intl
2019-12-23 09:25:31 +01:00
Michele Locati fcab189dd2
Fix GD dependencies on Debian Jessie 2019-12-23 09:12:15 +01:00
Michele Locati 58f33d2e90
Abort if expandPackagesToBeInstalled fails
Test: gd
2019-12-23 09:01:24 +01:00
Michele Locati 0f552e12a4
Merge pull request #75 from itscaro/fix-printf
fix printf
2019-12-20 17:28:03 +01:00
Michele Locati 1ba29d90cf
Fix coding style 2019-12-20 16:52:00 +01:00
Minh-Quan TRAN a1547ab626
fix printf
Signed-off-by: Minh-Quan TRAN <account@itscaro.me>
2019-12-20 15:55:26 +01:00
Michele Locati 9b24025eab
Fix amqp for Debian 8 (Jessie)
Test: amqp
2019-12-20 15:33:30 +01:00
Michele Locati 32a0cc4262
Rename vars in getDistroVersion 2019-12-20 14:32:33 +01:00
Michele Locati dd8abe1592
Add getDistroVersion function
Test: bcmath
2019-12-20 14:15:56 +01:00
Michele Locati 1a107c87eb
Fix memcache for PHP 5.6
Test: memcache
2019-12-19 17:51:47 +01:00
Michele Locati f8313949ef
Simplify handling of libssl-dev on Debian
Test: -STOP-
2019-12-19 16:40:08 +01:00
Michele Locati 6ee28220f3
Improve message about packages to be installed 2019-12-19 16:06:42 +01:00
Michele Locati b509412481
Fix volatile/persistent libraries of ZIP extension 2019-12-19 16:06:25 +01:00
Quan TRAN b97c7db893
Update install-php-extensions 2019-12-19 15:59:59 +01:00
Quan TRAN 821cc51fc2
Update install-php-extensions 2019-12-19 15:59:59 +01:00
Michele Locati 40482177ab
Improve apt/apk error logging 2019-12-19 15:59:08 +01:00
Michele Locati bc057dc1e6
Fix mongodb cleanup
Test: mongodb, -STOP-
2019-12-19 15:01:12 +01:00
Michele Locati c1769fec86
Use libressl instead of openssl on Alpine
libressl is a dependency of rabbitmq-c, and openssl conflicts with libressl

Test: imap, mongo, mongodb, zip
2019-12-19 14:14:51 +01:00
Michele Locati f952bafb20
Inspect data in expandPackagesToBeInstalled to detect errors 2019-12-19 14:14:50 +01:00