├── .gcloudignore
├── .gitignore
├── .php_cs
├── .travis.yml
├── CONTRIBUTING.md
├── LICENSE
├── NOTES.md
├── README.md
├── TRAVIS.md
├── builder
├── gen-dockerfile
│ ├── .gitignore
│ ├── Dockerfile.in
│ ├── composer.json
│ ├── create_dockerfile.php
│ ├── entrypoint.sh
│ ├── errors.ini
│ ├── phpunit.xml.dist
│ ├── src
│ │ ├── Builder
│ │ │ ├── Exception
│ │ │ │ ├── EnvConflictException.php
│ │ │ │ ├── ExactVersionException.php
│ │ │ │ ├── InvalidComposerFlagsException.php
│ │ │ │ ├── MissingDocumentRootException.php
│ │ │ │ └── RemovedEnvVarException.php
│ │ │ └── GenFilesCommand.php
│ │ ├── DetectPhpVersion.php
│ │ └── templates
│ │ │ ├── Dockerfile.twig
│ │ │ └── dockerignore.twig
│ └── tests
│ │ ├── GenFilesCommandTest.php
│ │ ├── bootstrap.php
│ │ └── test_data
│ │ ├── correct_composer_flags
│ │ └── app.yaml
│ │ ├── different_yaml
│ │ └── my.yaml
│ │ ├── docroot
│ │ └── app.yaml
│ │ ├── docroot_env
│ │ └── app.yaml
│ │ ├── docroot_on_both
│ │ └── app.yaml
│ │ ├── exact_php_version
│ │ ├── app.yaml
│ │ └── composer.json
│ │ ├── front_controller_file
│ │ └── app.yaml
│ │ ├── has_files
│ │ ├── .dockerignore
│ │ ├── Dockerfile
│ │ └── app.yaml
│ │ ├── invalid_composer_flags
│ │ └── app.yaml
│ │ ├── no_docroot
│ │ └── app.yaml
│ │ ├── php56
│ │ ├── app.yaml
│ │ └── composer.json
│ │ ├── php70
│ │ ├── app.yaml
│ │ └── composer.json
│ │ ├── php71
│ │ ├── app.yaml
│ │ └── composer.json
│ │ ├── php72
│ │ ├── app.yaml
│ │ └── composer.json
│ │ ├── php73
│ │ ├── app.yaml
│ │ └── composer.json
│ │ ├── php74
│ │ ├── app.yaml
│ │ └── composer.json
│ │ ├── php80
│ │ ├── app.yaml
│ │ └── composer.json
│ │ ├── removed_env_var
│ │ └── app.yaml
│ │ ├── simplest
│ │ └── app.yaml
│ │ ├── skip_lockdown_document_root
│ │ └── app.yaml
│ │ ├── values_on_both
│ │ └── app.yaml
│ │ └── values_only_on_env
│ │ └── app.yaml
├── php-latest.yaml
└── runtimes.yaml
├── check-versions
├── cloudbuild.yaml
├── composer.json
├── composer.lock
├── phpunit.xml.dist
└── tests
│ ├── VersionTest.php
│ └── bootstrap.php
├── circle.yml
├── cloudbuild-test-runner
├── .gcloudignore
├── .gitignore
├── Dockerfile.in
├── run_tests.sh
└── test-runner-php.ini
├── cloudbuild-ubuntu.yaml
├── composer.json
├── composer.lock
├── integration-tests.yaml
├── package-builder
├── Dockerfile
├── README.md
├── build-packages.yaml
├── build.sh
├── build_packages.sh
├── debian
│ ├── README.debian
│ ├── compat
│ ├── control.in
│ ├── copyright
│ ├── gcp-php.dirs.in
│ ├── gcp-php.install.in
│ ├── patches
│ │ ├── php56-parse_str_harden.patch
│ │ ├── php70-parse_str_harden.patch
│ │ ├── php71-parse_str_harden.patch
│ │ ├── php72-parse_str_harden.patch
│ │ ├── php73-parse_str_harden.patch
│ │ ├── php74-parse_str_harden.patch
│ │ ├── php80-parse_str_harden.patch
│ │ └── series.in
│ ├── php-dismod.in
│ ├── php-enmod.in
│ ├── rules.in
│ └── source
│ │ └── format
├── extensions
│ ├── amqp
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-amqp.ini
│ │ │ ├── gcp-php-amqp.install.in
│ │ │ └── rules.in
│ ├── apcu
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-apcu.ini
│ │ │ ├── gcp-php-apcu.install.in
│ │ │ └── rules.in
│ ├── apcu_bc
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-apcu-bc.ini
│ │ │ ├── gcp-php-apcu-bc.install.in
│ │ │ └── rules.in
│ ├── apm
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── dirs
│ │ │ ├── ext-apm.ini
│ │ │ ├── gcp-php-apm.install.in
│ │ │ └── rules.in
│ ├── bitset
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-bitset.ini
│ │ │ ├── gcp-php-bitset.install.in
│ │ │ └── rules.in
│ ├── cassandra
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-cassandra.ini
│ │ │ ├── gcp-php-cassandra.install.in
│ │ │ └── rules.in
│ ├── couchbase
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-couchbase.ini
│ │ │ ├── gcp-php-couchbase.install.in
│ │ │ └── rules.in
│ ├── ds
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-ds.ini
│ │ │ ├── gcp-php-ds.install.in
│ │ │ └── rules.in
│ ├── eio
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-eio.ini
│ │ │ ├── gcp-php-eio.install.in
│ │ │ └── rules.in
│ ├── ev
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-ev.ini
│ │ │ ├── gcp-php-ev.install.in
│ │ │ └── rules.in
│ ├── event
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-event.ini
│ │ │ ├── gcp-php-event.install.in
│ │ │ └── rules.in
│ ├── grpc
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-grpc.ini
│ │ │ ├── gcp-php-grpc.install.in
│ │ │ └── rules.in
│ ├── hprose
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-hprose.ini
│ │ │ ├── gcp-php-hprose.install.in
│ │ │ └── rules.in
│ ├── igbinary
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-igbinary.ini
│ │ │ ├── gcp-php-igbinary.install.in
│ │ │ └── rules.in
│ ├── imagick
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-imagick.ini
│ │ │ ├── gcp-php-imagick.install.in
│ │ │ └── rules.in
│ ├── jsonc
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control
│ │ │ ├── copyright
│ │ │ ├── ext-json.ini
│ │ │ ├── gcp-php56-json.install
│ │ │ └── rules
│ ├── jsond
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-jsond.ini
│ │ │ ├── gcp-php-jsond.install.in
│ │ │ └── rules.in
│ ├── krb5
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-krb5.ini
│ │ │ ├── gcp-php-krb5.install.in
│ │ │ └── rules.in
│ ├── libsodium
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-libsodium.ini
│ │ │ ├── ext-sodium.ini
│ │ │ ├── gcp-php-libsodium.install.in
│ │ │ └── rules.in
│ ├── lua
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-lua.ini
│ │ │ ├── gcp-php-lua.install.in
│ │ │ └── rules.in
│ ├── lzf
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-lzf.ini
│ │ │ ├── gcp-php-lzf.install.in
│ │ │ └── rules.in
│ ├── mailparse
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-mailparse.ini
│ │ │ ├── gcp-php-mailparse.install.in
│ │ │ └── rules.in
│ ├── memcache
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-memcache.ini
│ │ │ ├── gcp-php-memcache.install.in
│ │ │ └── rules.in
│ ├── memcached
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-memcached.ini
│ │ │ ├── gcp-php-memcached.install.in
│ │ │ └── rules.in
│ ├── memprof
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-memprof.ini
│ │ │ ├── gcp-php-memprof.install.in
│ │ │ └── rules.in
│ ├── mongo
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-mongo.ini
│ │ │ ├── gcp-php-mongo.install.in
│ │ │ └── rules.in
│ ├── mongodb
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-mongodb.ini
│ │ │ ├── gcp-php-mongodb.install.in
│ │ │ └── rules.in
│ ├── oauth
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-oauth.ini
│ │ │ ├── gcp-php-oauth.install.in
│ │ │ └── rules.in
│ ├── opencensus
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-opencensus.ini
│ │ │ ├── gcp-php-opencensus.install.in
│ │ │ ├── rules
│ │ │ └── rules.in
│ ├── phalcon
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-phalcon.ini
│ │ │ ├── gcp-php-phalcon.install.in
│ │ │ └── rules.in
│ ├── pq
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-pq.ini
│ │ │ ├── gcp-php-pq.install.in
│ │ │ └── rules.in
│ ├── protobuf
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-protobuf.ini
│ │ │ ├── gcp-php-protobuf.install.in
│ │ │ └── rules.in
│ ├── ps
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-ps.ini
│ │ │ ├── gcp-php-ps.install.in
│ │ │ └── rules.in
│ ├── raphf
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-raphf.ini
│ │ │ ├── gcp-php-raphf.install.in
│ │ │ └── rules.in
│ ├── rdkafka
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-rdkafka.ini
│ │ │ ├── gcp-php-rdkafka.install.in
│ │ │ └── rules.in
│ ├── redis
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-redis.ini
│ │ │ ├── gcp-php-redis.install.in
│ │ │ └── rules.in
│ ├── seaslog
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-seaslog.ini
│ │ │ ├── gcp-php-seaslog.install.in
│ │ │ └── rules.in
│ ├── skeleton
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext.ini
│ │ │ ├── install.in
│ │ │ └── rules.in
│ ├── stackdriver_debugger
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-stackdriver-debugger.ini
│ │ │ ├── gcp-php-stackdriver-debugger.install.in
│ │ │ └── rules.in
│ ├── stomp
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-stomp.ini
│ │ │ ├── gcp-php-stomp.install.in
│ │ │ └── rules.in
│ ├── suhosin
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-suhosin.ini
│ │ │ ├── gcp-php-suhosin.install.in
│ │ │ └── rules.in
│ ├── swoole
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-swoole.ini
│ │ │ ├── gcp-php-swoole.install.in
│ │ │ └── rules.in
│ ├── sync
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-sync.ini
│ │ │ ├── gcp-php-sync.install.in
│ │ │ └── rules.in
│ ├── tcpwrap
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-tcpwrap.ini
│ │ │ ├── gcp-php-tcpwrap.install.in
│ │ │ └── rules.in
│ ├── timezonedb
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-timezonedb.ini
│ │ │ ├── gcp-php-timezonedb.install.in
│ │ │ └── rules.in
│ ├── v8js
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-v8js.ini
│ │ │ ├── gcp-php-v8js.install.in
│ │ │ └── rules.in
│ ├── vips
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-vips.ini
│ │ │ ├── gcp-php-vips.install.in
│ │ │ └── rules.in
│ ├── xmlrpc
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-xmlrpc.ini
│ │ │ ├── gcp-php-xmlrpc.install.in
│ │ │ └── rules.in
│ ├── yaconf
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-yaconf.ini
│ │ │ ├── gcp-php-yaconf.install.in
│ │ │ └── rules.in
│ ├── yaf
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control.in
│ │ │ ├── copyright
│ │ │ ├── ext-yaf.ini
│ │ │ ├── gcp-php-yaf.install.in
│ │ │ └── rules.in
│ └── yaml
│ │ ├── build.sh
│ │ └── debian
│ │ ├── compat
│ │ ├── control.in
│ │ ├── copyright
│ │ ├── ext-yaml.ini
│ │ ├── gcp-php-yaml.install.in
│ │ └── rules.in
├── functions.sh
├── gpgkeys
│ ├── php56
│ │ ├── jpauli.key
│ │ └── tyrael.key
│ ├── php70
│ │ ├── ab.key
│ │ └── tyrael.key
│ ├── php71
│ │ ├── davey.key
│ │ ├── krakjoe.key
│ │ └── sgoleman.key
│ ├── php72
│ │ ├── remi.key
│ │ └── sgoleman.key
│ ├── php73
│ │ ├── cmb.key
│ │ └── smalyshev.key
│ ├── php74
│ │ ├── derick.key
│ │ └── petk.key
│ └── php80
│ │ ├── gcaruso.key
│ │ └── sgolemon.key
├── libraries
│ ├── cassandra-cpp-driver
│ │ └── build.sh
│ ├── librabbitmq
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control
│ │ │ ├── copyright
│ │ │ ├── librabbitmq-dev.install
│ │ │ ├── librabbitmq.install
│ │ │ ├── librabbitmq.links
│ │ │ └── rules
│ ├── libv8
│ │ ├── build.sh
│ │ └── debian
│ │ │ ├── compat
│ │ │ ├── control
│ │ │ ├── copyright
│ │ │ ├── libv8.install
│ │ │ └── rules
│ └── libvips
│ │ ├── build.sh
│ │ └── debian
│ │ ├── compat
│ │ ├── control
│ │ ├── copyright
│ │ ├── libvips-dev.install
│ │ ├── libvips.install
│ │ └── rules
├── new_extension.sh
└── pkg
│ └── .gitkeep
├── perf-dashboard
└── deployment-latency
│ ├── cloudbuild.yaml
│ ├── composer.json
│ ├── phpunit.xml.dist
│ └── tests
│ ├── CollectDeploymentLatencyTest.php
│ ├── bootstrap.php
│ └── files
│ ├── app.yaml
│ └── web
│ └── index.php
├── php-base
├── Dockerfile
├── README.md
├── build-scripts
│ ├── apt-cleanup.sh
│ ├── composer.json
│ ├── composer.sh
│ ├── detect_php_version.php
│ ├── dump_php_versions.sh
│ ├── entrypoint.sh
│ ├── install_composer.sh
│ ├── install_extensions.php
│ ├── install_php.sh
│ ├── install_php70.sh
│ ├── install_php71.sh
│ ├── install_php72.sh
│ ├── install_php73.sh
│ ├── install_php74.sh
│ ├── install_php80.sh
│ ├── lockdown.sh
│ ├── move-config-files.sh
│ ├── src
│ │ ├── DetectPhpVersion.php
│ │ └── InstallExtensions.php
│ └── whitelist_functions.php
├── composer.json
├── fastcgi_params
├── gzip_params
├── nginx-app.conf
├── nginx-http.conf
├── nginx.conf
├── php-base.yaml
├── php-cli.ini
├── php-fpm.conf
├── php.ini
├── phpunit.xml.dist
├── stackdriver-files
│ ├── batch-daemon.conf
│ ├── enable_stackdriver_integration.sh
│ ├── enable_stackdriver_prepend.php
│ └── stackdriver_integration.php
├── supervisord.conf
└── tests
│ ├── DetectPhpVersionTest.php
│ ├── InstallExtensionsTest.php
│ ├── StackdriverIntegrationTest.php
│ ├── bootstrap.php
│ └── samples
│ ├── bad_combo.json
│ ├── exact.json
│ ├── invalid.json
│ ├── mixed.json
│ ├── no_version.json
│ ├── oauth.json
│ ├── phalcon.json
│ ├── shared.json
│ ├── stackdriver_dev
│ └── composer.json
│ ├── stackdriver_individual
│ └── composer.json
│ ├── stackdriver_no_google_cloud
│ └── composer.json
│ ├── stackdriver_old_er
│ └── composer.json
│ ├── stackdriver_old_google_cloud
│ └── composer.json
│ ├── stackdriver_old_logging
│ └── composer.json
│ ├── stackdriver_simple
│ └── composer.json
│ └── stackdriver_wildcard
│ └── composer.json
├── php-onbuild
├── .gitignore
├── Dockerfile.in
├── README.md
└── php.yaml
├── php-versioned
├── .gitignore
├── Dockerfile.in
├── php56.yaml
├── php70.yaml
├── php71.yaml
├── php72.yaml
├── php73.yaml
├── php74.yaml
└── php80.yaml
├── phpunit.xml.dist
├── scripts
├── acceptance.sh
├── build_images.sh
├── check_versions.sh
├── dump_credentials.php
├── install_test_dependencies.sh
├── integration-test.sh
├── jenkins_build.sh
├── record-deployment-latency.sh
├── record_deployment_latency.sh
├── release.sh
├── run_acceptance_tests.sh
├── run_test_suite.sh
├── ubuntu-packages.cfg
├── ubuntu-packages.sh
└── update-gcs.sh
└── testapps
├── build_pipeline
├── .gitignore
├── app.yaml
├── composer.json
├── logging-client.php
├── tests
│ ├── composer.json
│ ├── phpunit.xml.dist
│ └── tests
│ │ ├── EndToEndTest.php
│ │ └── bootstrap.php
└── web
│ ├── check_extensions.php
│ ├── exec.php
│ ├── grpc_pubsub.php
│ ├── https-env.php
│ ├── index.php
│ ├── pdo_sqlite.php
│ ├── phpinfo.php
│ ├── readfile.php
│ ├── session.php
│ ├── session_save_handler.php
│ └── version.php
├── build_pipeline_std
├── .gitignore
├── app.yaml
├── composer.json
├── logging-client.php
├── tests
│ ├── composer.json
│ ├── phpunit.xml.dist
│ └── tests
│ │ ├── EndToEndTest.php
│ │ └── bootstrap.php
└── web
│ ├── check_extensions.php
│ ├── exec.php
│ ├── grpc_pubsub.php
│ ├── https-env.php
│ ├── index.php
│ ├── ini_get.php
│ ├── pdo_sqlite.php
│ ├── phpinfo.php
│ ├── readfile.php
│ ├── session.php
│ ├── session_save_handler.php
│ └── version.php
├── builder_test
├── app.yaml
├── phpunit.xml.dist
└── tests
│ └── DockerfileTest.php
├── integration-individual-packages
├── README.md
├── app.yaml
├── cloudbuild.yaml.in
├── composer.json
├── runtimes.yaml
├── test.yaml.in
└── web
│ └── index.php
├── integration
├── .gitignore
├── Dockerfile.in
├── README.md
├── app.yaml
├── cloudbuild.yaml.in
├── composer.json
├── runtimes.yaml
├── test.yaml.in
└── web
│ └── index.php
├── php71_custom
├── .gitignore
├── Dockerfile.in
├── composer.json
├── php71.yaml
├── tests
│ ├── composer.json
│ ├── phpunit.xml.dist
│ └── tests
│ │ ├── PHP71CustomTest.php
│ │ └── bootstrap.php
└── web
│ ├── Blank300.png
│ ├── apc.php
│ ├── app.php
│ ├── extensions.php
│ ├── imagick.php
│ └── parse_str.php
├── php71_extensions
├── .gitignore
├── Dockerfile.in
├── composer.json
├── phpunit.xml.dist
└── tests
│ ├── Blank300.png
│ ├── CassandraTest.php
│ ├── EvTest.php
│ ├── EventTest.php
│ ├── ExtensionsLoadedTest.php
│ ├── GdTest.php
│ ├── GmpTest.php
│ ├── ImagickTest.php
│ ├── LibSodiumTest.php
│ ├── OauthTest.php
│ ├── PhalconTest.php
│ ├── ProtobufTest.php
│ ├── RdkafkaTest.php
│ └── bootstrap.php
├── php72_custom
├── .gitignore
├── Dockerfile.in
├── composer.json
├── php72.yaml
├── tests
│ ├── composer.json
│ ├── phpunit.xml.dist
│ └── tests
│ │ ├── PHP72CustomTest.php
│ │ └── bootstrap.php
└── web
│ ├── Blank300.png
│ ├── apc.php
│ ├── app.php
│ ├── extensions.php
│ ├── imagick.php
│ └── parse_str.php
├── php72_e2e
├── .gitignore
├── Dockerfile.in
├── app.yaml
├── composer.json
├── tests
│ ├── composer.json
│ ├── phpunit.xml.dist
│ └── tests
│ │ ├── EndToEndTest.php
│ │ └── bootstrap.php
└── web
│ ├── exec.php
│ ├── grpc_pubsub.php
│ ├── https-env.php
│ ├── index.php
│ ├── pdo_sqlite.php
│ ├── phpinfo.php
│ ├── session.php
│ └── session_save_handler.php
├── php72_extensions
├── .gitignore
├── Dockerfile.in
├── composer.json
├── phpunit.xml.dist
└── tests
│ ├── Blank300.png
│ ├── CassandraTest.php
│ ├── EvTest.php
│ ├── EventTest.php
│ ├── ExtensionsLoadedTest.php
│ ├── GdTest.php
│ ├── GmpTest.php
│ ├── ImagickTest.php
│ ├── LibSodiumTest.php
│ ├── OauthTest.php
│ ├── PhalconTest.php
│ ├── ProtobufTest.php
│ ├── RdkafkaTest.php
│ └── bootstrap.php
├── php72_extensions_legacy
├── .gitignore
├── Dockerfile.in
├── composer.json
├── php.ini
├── phpunit.xml.dist
└── tests
│ ├── Blank300.png
│ ├── CassandraTest.php
│ ├── EvTest.php
│ ├── EventTest.php
│ ├── ExtensionsLoadedTest.php
│ ├── GdTest.php
│ ├── GmpTest.php
│ ├── ImagickTest.php
│ ├── LibSodiumTest.php
│ ├── OauthTest.php
│ ├── PhalconTest.php
│ ├── ProtobufTest.php
│ ├── RdkafkaTest.php
│ └── bootstrap.php
├── php73_custom
├── .gitignore
├── Dockerfile.in
├── composer.json
├── php73.yaml
├── tests
│ ├── composer.json
│ ├── phpunit.xml.dist
│ └── tests
│ │ ├── PHP73CustomTest.php
│ │ └── bootstrap.php
└── web
│ ├── Blank300.png
│ ├── apc.php
│ ├── app.php
│ ├── extensions.php
│ ├── imagick.php
│ └── parse_str.php
├── php73_e2e
├── .gitignore
├── Dockerfile.in
├── app.yaml
├── composer.json
├── tests
│ ├── composer.json
│ ├── phpunit.xml.dist
│ └── tests
│ │ ├── EndToEndTest.php
│ │ └── bootstrap.php
└── web
│ ├── exec.php
│ ├── grpc_pubsub.php
│ ├── https-env.php
│ ├── index.php
│ ├── pdo_sqlite.php
│ ├── phpinfo.php
│ ├── session.php
│ └── session_save_handler.php
├── php73_extensions
├── .gitignore
├── Dockerfile.in
├── composer.json
├── phpunit.xml.dist
└── tests
│ ├── Blank300.png
│ ├── EvTest.php
│ ├── EventTest.php
│ ├── ExtensionsLoadedTest.php
│ ├── GdTest.php
│ ├── GmpTest.php
│ ├── ImagickTest.php
│ ├── OauthTest.php
│ ├── PhalconTest.php
│ ├── ProtobufTest.php
│ ├── RdkafkaTest.php
│ └── bootstrap.php
├── php73_extensions_legacy
├── .gitignore
├── Dockerfile.in
├── composer.json
├── php.ini
├── phpunit.xml.dist
└── tests
│ ├── Blank300.png
│ ├── EvTest.php
│ ├── EventTest.php
│ ├── ExtensionsLoadedTest.php
│ ├── GdTest.php
│ ├── GmpTest.php
│ ├── ImagickTest.php
│ ├── LibSodiumTest.php
│ ├── OauthTest.php
│ ├── PhalconTest.php
│ ├── ProtobufTest.php
│ ├── RdkafkaTest.php
│ └── bootstrap.php
├── php74_custom
├── .gitignore
├── Dockerfile.in
├── composer.json
├── php74.yaml
├── tests
│ ├── composer.json
│ ├── phpunit.xml.dist
│ └── tests
│ │ ├── PHP74CustomTest.php
│ │ └── bootstrap.php
└── web
│ ├── Blank300.png
│ ├── apc.php
│ ├── app.php
│ ├── extensions.php
│ ├── imagick.php
│ └── parse_str.php
├── php74_e2e
├── .gitignore
├── Dockerfile.in
├── app.yaml
├── composer.json
├── tests
│ ├── composer.json
│ ├── phpunit.xml.dist
│ └── tests
│ │ ├── EndToEndTest.php
│ │ └── bootstrap.php
└── web
│ ├── exec.php
│ ├── grpc_pubsub.php
│ ├── https-env.php
│ ├── index.php
│ ├── pdo_sqlite.php
│ ├── phpinfo.php
│ ├── session.php
│ └── session_save_handler.php
├── php74_extensions
├── .gitignore
├── Dockerfile.in
├── composer.json
├── phpunit.xml.dist
└── tests
│ ├── Blank300.png
│ ├── EvTest.php
│ ├── EventTest.php
│ ├── ExtensionsLoadedTest.php
│ ├── GdTest.php
│ ├── GmpTest.php
│ ├── ImagickTest.php
│ ├── OauthTest.php
│ ├── PhalconTest.php
│ ├── ProtobufTest.php
│ ├── RdkafkaTest.php
│ └── bootstrap.php
├── php74_extensions_legacy
├── .gitignore
├── Dockerfile.in
├── composer.json
├── php.ini
├── phpunit.xml.dist
└── tests
│ ├── Blank300.png
│ ├── EvTest.php
│ ├── EventTest.php
│ ├── ExtensionsLoadedTest.php
│ ├── GdTest.php
│ ├── GmpTest.php
│ ├── ImagickTest.php
│ ├── LibSodiumTest.php
│ ├── OauthTest.php
│ ├── PhalconTest.php
│ ├── ProtobufTest.php
│ ├── RdkafkaTest.php
│ └── bootstrap.php
├── php80_custom
├── .gitignore
├── Dockerfile.in
├── composer.json
├── php80.yaml
├── tests
│ ├── composer.json
│ ├── composer.lock
│ ├── phpunit.xml.dist
│ └── tests
│ │ ├── PHP80CustomTest.php
│ │ └── bootstrap.php
└── web
│ ├── Blank300.png
│ ├── apc.php
│ ├── app.php
│ ├── extensions.php
│ ├── imagick.php
│ └── parse_str.php
├── php80_e2e
├── .gitignore
├── Dockerfile.in
├── app.yaml
├── composer.json
├── tests
│ ├── composer.json
│ ├── phpunit.xml.dist
│ └── tests
│ │ ├── EndToEndTest.php
│ │ └── bootstrap.php
└── web
│ ├── exec.php
│ ├── grpc_pubsub.php
│ ├── https-env.php
│ ├── index.php
│ ├── pdo_sqlite.php
│ ├── phpinfo.php
│ ├── session.php
│ └── session_save_handler.php
├── php80_extensions
├── .gitignore
├── Dockerfile.in
├── composer.json
├── phpunit.xml.dist
└── tests
│ ├── Blank300.png
│ ├── EvTest.php
│ ├── EventTest.php
│ ├── ExtensionsLoadedTest.php
│ ├── GdTest.php
│ ├── GmpTest.php
│ ├── ImagickTest.php
│ ├── OauthTest.php
│ ├── ProtobufTest.php
│ ├── RdkafkaTest.php
│ └── bootstrap.php
├── php80_extensions_legacy
├── .gitignore
├── Dockerfile.in
├── composer.json
├── php.ini
├── phpunit.xml.dist
└── tests
│ ├── Blank300.png
│ ├── EvTest.php
│ ├── EventTest.php
│ ├── ExtensionsLoadedTest.php
│ ├── GdTest.php
│ ├── GmpTest.php
│ ├── ImagickTest.php
│ ├── OauthTest.php
│ ├── ProtobufTest.php
│ ├── RdkafkaTest.php
│ └── bootstrap.php
└── php_default
├── .gitignore
├── Dockerfile.in
├── composer.json
├── index.php
└── php_default.yaml
/.gcloudignore:
--------------------------------------------------------------------------------
1 | **/vendor
2 | .php_cs.cache
3 | deb-package-builder/pkg/
4 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | **/vendor
2 | .php_cs.cache
3 | builder/php-test.yaml
4 | deb-package-builder/pkg/
5 | .vscode/launch.json
6 | workspace.code-workspace
7 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Docker image for the App Engine Flexible PHP runtime
2 |
3 | This repository contains a PHP runtime for Google App Engine Flexible
4 | Environment and other Docker hosts. It is not covered by any SLA or
5 | deprecation policy. It may change at any time.
6 |
7 | ## Contributing changes
8 |
9 | * See [CONTRIBUTING.md](CONTRIBUTING.md)
10 |
11 | ## Licensing
12 |
13 | * See [LICENSE](LICENSE)
14 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/.gitignore:
--------------------------------------------------------------------------------
1 | Dockerfile
2 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "symfony/console": "^3.2",
4 | "symfony/yaml": "^3.2",
5 | "twig/twig": "~1.0",
6 | "composer/semver": "^1.4"
7 | },
8 | "autoload": {
9 | "psr-4": {
10 | "Google\\Cloud\\Runtimes\\": "src"
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/errors.ini:
--------------------------------------------------------------------------------
1 | display_errors = On
2 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/src/templates/dockerignore.twig:
--------------------------------------------------------------------------------
1 | # added by the php runtime builder
2 | .dockerignore
3 | Dockerfile
4 | .git
5 | .hg
6 | .svn
7 | # Emacs backup files
8 | *~
9 | .\#*
10 | {{ app_yaml_path }}
11 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/correct_composer_flags/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: /app
6 | composer_flags: '--prefer-dist --no-dev --no-script'
7 |
8 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/different_yaml/my.yaml:
--------------------------------------------------------------------------------
1 | runtime: php
2 | env: flex
3 |
4 | runtime_config:
5 | document_root: /app
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/docroot/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: web
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/docroot_env/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | env_variables:
5 | DOCUMENT_ROOT: /app/web
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/docroot_on_both/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | env_variables:
5 | DOCUMENT_ROOT: /app/public
6 |
7 | runtime_config:
8 | document_root: web
9 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/exact_php_version/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: /app
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/exact_php_version/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "5.6.30"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/front_controller_file/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: /app
6 | front_controller_file: app.php
7 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/has_files/.dockerignore:
--------------------------------------------------------------------------------
1 | # User defined .dockerignore
2 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/has_files/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM gcr.io/google_appengine/debian
2 |
3 | ENV DOCUMENT_ROOT='/test'
4 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/has_files/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: web
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/invalid_composer_flags/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: /app
6 | composer_flags: '--prefer-dist --no-dev && cat /etc/passwd'
7 |
8 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/no_docroot/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/php56/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: /app
6 |
7 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/php56/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "5.6.*"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/php70/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: /app
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/php70/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "7.0.*"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/php71/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: /app
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/php71/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "7.1.*"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/php72/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: /app
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/php72/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "7.2.*"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/php73/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: /app
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/php73/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "7.3.*"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/php74/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: /app
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/php74/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "7.4.*"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/php80/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: /app
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/php80/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "8.0.*"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/removed_env_var/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: /app
6 |
7 | env_variables:
8 | COMPOSER_GITHUB_OAUTH_TOKEN: my_secret
9 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/simplest/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: /app
6 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/skip_lockdown_document_root/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | runtime_config:
5 | document_root: /app
6 | skip_lockdown_document_root: true
7 |
--------------------------------------------------------------------------------
/builder/gen-dockerfile/tests/test_data/values_only_on_env/app.yaml:
--------------------------------------------------------------------------------
1 | env: flex
2 | runtime: php
3 |
4 | env_variables:
5 | DOCUMENT_ROOT: /app
6 | WHITELIST_FUNCTIONS: exec
7 | FRONT_CONTROLLER_FILE: app.php
8 | NGINX_CONF_HTTP_INCLUDE: files/nginx-http.conf
9 | NGINX_CONF_INCLUDE: files/nginx-app.conf
10 | NGINX_CONF_OVERRIDE: files/nginx.conf
11 | PHP_FPM_CONF_OVERRIDE: files/php-fpm.conf
12 | PHP_INI_OVERRIDE: files/php.ini
13 | SUPERVISORD_CONF_ADDITION: files/additional-supervisord.conf
14 | SUPERVISORD_CONF_OVERRIDE: files/supervisord.conf
15 |
--------------------------------------------------------------------------------
/builder/php-latest.yaml:
--------------------------------------------------------------------------------
1 | steps:
2 | - name: 'gcr.io/gcp-runtimes/php/gen-dockerfile:latest'
3 | args: ['--php73-image', 'gcr.io/google-appengine/php73:latest', '--php72-image', 'gcr.io/google-appengine/php72:latest', '--php71-image', 'gcr.io/google-appengine/php71:latest']
4 | env: 'GAE_APPLICATION_YAML_PATH=$_GAE_APPLICATION_YAML_PATH'
5 | - name: 'gcr.io/kaniko-project/executor:v1.6.0'
6 | args: ['--destination=$_OUTPUT_IMAGE']
7 | env: 'GAE_APPLICATION_YAML_PATH=$_GAE_APPLICATION_YAML_PATH'
8 |
--------------------------------------------------------------------------------
/builder/runtimes.yaml:
--------------------------------------------------------------------------------
1 | # This manifest is used for testing the build pipeline
2 |
3 | schema_version: 1
4 | runtimes:
5 | php:
6 | target:
7 | file: php-test.yaml
8 |
--------------------------------------------------------------------------------
/check-versions/cloudbuild.yaml:
--------------------------------------------------------------------------------
1 | steps:
2 | - name: gcr.io/cloud-builders/docker
3 | args: ['pull', 'gcr.io/${_CONTAINER_REGISTRY}/php']
4 | - name: ${_TEST_RUNNER}
5 |
--------------------------------------------------------------------------------
/check-versions/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "guzzlehttp/guzzle": "^6.2"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/check-versions/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/check-versions/tests/bootstrap.php:
--------------------------------------------------------------------------------
1 | Thu, 15 Dec 2016 09:47:00 -0700
9 |
--------------------------------------------------------------------------------
/package-builder/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/debian/gcp-php.dirs.in:
--------------------------------------------------------------------------------
1 | opt/php${SHORT_VERSION}/lib/conf.d
2 | opt/php${SHORT_VERSION}/lib/ext.enabled
3 |
--------------------------------------------------------------------------------
/package-builder/debian/gcp-php.install.in:
--------------------------------------------------------------------------------
1 | debian/php${SHORT_VERSION}-enmod opt/php${SHORT_VERSION}/bin
2 | debian/php${SHORT_VERSION}-dismod opt/php${SHORT_VERSION}/bin
3 |
--------------------------------------------------------------------------------
/package-builder/debian/patches/php72-parse_str_harden.patch:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/package-builder/debian/patches/php72-parse_str_harden.patch
--------------------------------------------------------------------------------
/package-builder/debian/patches/php73-parse_str_harden.patch:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/package-builder/debian/patches/php73-parse_str_harden.patch
--------------------------------------------------------------------------------
/package-builder/debian/patches/php74-parse_str_harden.patch:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/package-builder/debian/patches/php74-parse_str_harden.patch
--------------------------------------------------------------------------------
/package-builder/debian/patches/php80-parse_str_harden.patch:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/package-builder/debian/patches/php80-parse_str_harden.patch
--------------------------------------------------------------------------------
/package-builder/debian/patches/series.in:
--------------------------------------------------------------------------------
1 | php${SHORT_VERSION}-parse_str_harden.patch
2 |
--------------------------------------------------------------------------------
/package-builder/debian/php-dismod.in:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -e
4 |
5 | if [ -z "${1}" ]; then
6 | exit 1
7 | fi
8 |
9 | rm -f "/opt/php${SHORT_VERSION}/lib/ext.enabled/ext-${1}.ini"
10 |
--------------------------------------------------------------------------------
/package-builder/debian/php-enmod.in:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -e
4 |
5 | if [ -z "${1}" ]; then
6 | exit 1
7 | fi
8 |
9 | if [ -f "/opt/php${SHORT_VERSION}/lib/ext.available/ext-${1}.ini" ]; then
10 | ln -sf "/opt/php${SHORT_VERSION}/lib/ext.available/ext-${1}.ini" \
11 | "/opt/php${SHORT_VERSION}/lib/ext.enabled"
12 | else
13 | exit 1
14 | fi
15 |
--------------------------------------------------------------------------------
/package-builder/debian/source/format:
--------------------------------------------------------------------------------
1 | 3.0 (quilt)
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/amqp/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | export PHP_LIBRABBITMQ_DIR="no"
6 | echo "Building amqp for gcp-php${SHORT_VERSION}"
7 |
8 | # Now build the extension
9 | PNAME="gcp-php${SHORT_VERSION}-amqp"
10 |
11 | # Install the packages for librabbitmq
12 | install_last_package "librabbitmq"
13 | install_last_package "librabbitmq-dev"
14 |
15 | # Download the source
16 | download_from_pecl amqp 1.11.0beta
17 |
18 | build_package amqp
19 |
--------------------------------------------------------------------------------
/package-builder/extensions/amqp/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/amqp/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-amqp
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/amqp
8 |
9 | Package: gcp-php${SHORT_VERSION}-amqp
10 | Architecture: any
11 | Depends: librabbitmq (> 0.10.0), libc6 (>= 2.14), gcp-php${SHORT_VERSION}
12 | Description: AMQP extension for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/amqp/debian/ext-amqp.ini:
--------------------------------------------------------------------------------
1 | extension=amqp.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/amqp/debian/gcp-php-amqp.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-amqp.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/amqp/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 | %:
3 | dh $@
4 |
5 | override_dh_auto_configure:
6 | phpize && \
7 | ./configure --enable-debug --with-librabbitmq-dir=/usr
8 |
9 | override_dh_auto_test:
10 |
11 | override_dh_auto_install:
12 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-amqp \
13 | dh_auto_install
14 |
--------------------------------------------------------------------------------
/package-builder/extensions/apcu/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building apcu for gcp-php${SHORT_VERSION}"
8 |
9 | PNAME="gcp-php${SHORT_VERSION}-apcu"
10 |
11 | # Download the source
12 | if [ ${SHORT_VERSION} == '56' ]; then
13 | download_from_pecl apcu 4.0.11
14 | else
15 | download_from_pecl apcu 5.1.20
16 | fi
17 |
18 | build_package apcu
19 |
--------------------------------------------------------------------------------
/package-builder/extensions/apcu/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/apcu/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-apcu
2 | Section: php
3 | Priority: optional
4 | Maintainer: Takashi Matsuo
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/apcu
8 |
9 | Package: gcp-php${SHORT_VERSION}-apcu
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: apcu extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/apcu/debian/ext-apcu.ini:
--------------------------------------------------------------------------------
1 | extension=apcu.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/apcu/debian/gcp-php-apcu.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-apcu.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/apcu/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-apcu \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/apcu_bc/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/apcu_bc/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-apcu-bc
2 | Section: php
3 | Priority: optional
4 | Maintainer: Takashi Matsuo
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}-apcu, gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/apcu_bc
8 |
9 | Package: gcp-php${SHORT_VERSION}-apcu-bc
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: apcu_bc extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/apcu_bc/debian/ext-apcu-bc.ini:
--------------------------------------------------------------------------------
1 | ; apcu must be loaded before loading apc
2 | extension=apcu.so
3 | extension=apc.so
4 |
--------------------------------------------------------------------------------
/package-builder/extensions/apcu_bc/debian/gcp-php-apcu-bc.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-apcu-bc.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/apcu_bc/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-apcu-bc \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/apm/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building apm for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-apm"
8 |
9 | if [ ${SHORT_VERSION} == '56' ] || [ ${SHORT_VERSION} == '80' ]; then
10 | echo "apm extension only for PHP 7.0+, relies on removed json.h for PHP 5.6"
11 | exit 0
12 | fi
13 |
14 | apt-get install -y libmysql++-dev
15 |
16 | # Download the source
17 | download_from_pecl APM
18 |
19 | build_package apm
20 |
--------------------------------------------------------------------------------
/package-builder/extensions/apm/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/apm/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-apm
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/APM
8 |
9 | Package: gcp-php${SHORT_VERSION}-apm
10 | Architecture: any
11 | Depends: libmysqlclient20, libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: apm extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/apm/debian/dirs:
--------------------------------------------------------------------------------
1 | /var/php/apm/db
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/apm/debian/ext-apm.ini:
--------------------------------------------------------------------------------
1 | extension=apm.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/apm/debian/gcp-php-apm.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-apm.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/apm/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-apm \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/bitset/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building bitset for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-bitset"
8 |
9 | # Download the source
10 | if [ ${SHORT_VERSION} == "56" ]; then
11 | download_from_pecl bitset 2.0.4
12 | else
13 | download_from_pecl bitset
14 | fi
15 |
16 | build_package bitset
17 |
--------------------------------------------------------------------------------
/package-builder/extensions/bitset/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/bitset/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-bitset
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/bitset
8 |
9 | Package: gcp-php${SHORT_VERSION}-bitset
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: bitset extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/bitset/debian/ext-bitset.ini:
--------------------------------------------------------------------------------
1 | extension=bitset.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/bitset/debian/gcp-php-bitset.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-bitset.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/bitset/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-bitset \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/cassandra/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/cassandra/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-cassandra
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/cassandra
8 |
9 | Package: gcp-php${SHORT_VERSION}-cassandra
10 | Architecture: any
11 | Depends: cassandra-cpp-driver (>= 2.7.0), gcp-php${SHORT_VERSION}
12 | Description: cassandra extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/cassandra/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: cassandra
3 | Upstream-Contact: Michael Penick
4 | Source: https://pecl.php.net/package/cassandra/
5 |
6 | Files: *
7 | Copyright: 2015-2016 DataStax, Inc.
8 | License: Apache-2.0
9 |
10 | Files: debian/*
11 | Copyright: 2016 Google, Inc.
12 | License: Apache-2.0
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/cassandra/debian/ext-cassandra.ini:
--------------------------------------------------------------------------------
1 | extension=cassandra.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/cassandra/debian/gcp-php-cassandra.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-cassandra.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/cassandra/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-cassandra \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/couchbase/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/couchbase/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-couchbase
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/couchbase
8 |
9 | Package: gcp-php${SHORT_VERSION}-couchbase
10 | Architecture: any
11 | Depends: libcouchbase3, libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: couchbase extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/couchbase/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: couchbase
3 | Upstream-Contact: Sergey Avseyev
4 | Source: https://pecl.php.net/package/couchbase
5 |
6 | Files: *
7 | Copyright: 2016-2021 Couchbase Inc.
8 | License: Apache-2.0
9 |
10 | Files: debian/*
11 | Copyright: 2017 Google, Inc.
12 | License: Apache-2.0
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/couchbase/debian/ext-couchbase.ini:
--------------------------------------------------------------------------------
1 | extension=couchbase.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/couchbase/debian/gcp-php-couchbase.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-couchbase.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/couchbase/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-couchbase \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/ds/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building ds for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-ds"
8 |
9 | if [ ${SHORT_VERSION} == '56' ]; then
10 | echo "ds extension only for PHP 7.0+"
11 | exit 0
12 | fi
13 |
14 | # Download the source
15 | download_from_pecl ds
16 |
17 | build_package ds
18 |
--------------------------------------------------------------------------------
/package-builder/extensions/ds/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/ds/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-ds
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/ds
8 |
9 | Package: gcp-php${SHORT_VERSION}-ds
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: ds extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/ds/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: ds
3 | Upstream-Contact: Joe Watkins
4 | Source: https://pecl.php.net/package/ds
5 |
6 | Files: *
7 | Copyright: 2016 Rudi Theunissen
8 | License: MIT
9 |
10 | Files: debian/*
11 | Copyright: 2017 Google, Inc.
12 | License: Apache-2.0
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/ds/debian/ext-ds.ini:
--------------------------------------------------------------------------------
1 | extension=ds.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/ds/debian/gcp-php-ds.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-ds.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/ds/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-ds \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/eio/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building eio for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-eio"
8 |
9 | apt-get install -y libeio-dev
10 |
11 | # Download the source
12 | #download_from_pecl eio
13 | download_from_pecl eio 3.0.0RC2
14 |
15 | build_package eio
16 |
--------------------------------------------------------------------------------
/package-builder/extensions/eio/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/eio/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-eio
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/eio
8 |
9 | Package: gcp-php${SHORT_VERSION}-eio
10 | Architecture: any
11 | Depends: libeio1, libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: eio extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/eio/debian/ext-eio.ini:
--------------------------------------------------------------------------------
1 | extension=eio.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/eio/debian/gcp-php-eio.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-eio.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/eio/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-eio \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/ev/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building ev for gcp-php${SHORT_VERSION}"
8 |
9 | apt-get install -y libev-dev
10 |
11 | PNAME="gcp-php${SHORT_VERSION}-ev"
12 |
13 | # Download the source
14 | download_from_pecl ev
15 |
16 | build_package ev
17 |
--------------------------------------------------------------------------------
/package-builder/extensions/ev/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/ev/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-ev
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/ev
8 |
9 | Package: gcp-php${SHORT_VERSION}-ev
10 | Architecture: any
11 | Depends: libev4, gcp-php${SHORT_VERSION}
12 | Description: ev extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/ev/debian/ext-ev.ini:
--------------------------------------------------------------------------------
1 | extension=ev.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/ev/debian/gcp-php-ev.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-ev.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/ev/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-ev \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/event/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building event for gcp-php${SHORT_VERSION}"
8 |
9 | apt-get install -y libevent-dev
10 |
11 | PNAME="gcp-php${SHORT_VERSION}-event"
12 |
13 | # Download the source
14 | download_from_pecl event
15 |
16 | build_package event
17 |
--------------------------------------------------------------------------------
/package-builder/extensions/event/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/event/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-event
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/event
8 |
9 | Package: gcp-php${SHORT_VERSION}-event
10 | Architecture: any
11 | Depends: libevent-2.1-6, libevent-openssl-2.1-6, libevent-extra-2.1-6, gcp-php${SHORT_VERSION}
12 | Description: event extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/event/debian/ext-event.ini:
--------------------------------------------------------------------------------
1 | extension=event.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/event/debian/gcp-php-event.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-event.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/event/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-event \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/grpc/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building grpc for gcp-php${SHORT_VERSION}"
8 |
9 | PNAME="gcp-php${SHORT_VERSION}-grpc"
10 |
11 | # Download the source
12 | download_from_pecl grpc
13 |
14 | build_package grpc
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/grpc/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/grpc/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-grpc
2 | Section: php
3 | Priority: optional
4 | Maintainer: Takashi Matsuo
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/grpc
8 |
9 | Package: gcp-php${SHORT_VERSION}-grpc
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: grpc extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/grpc/debian/ext-grpc.ini:
--------------------------------------------------------------------------------
1 | extension=grpc.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/grpc/debian/gcp-php-grpc.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-grpc.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/grpc/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-grpc \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/hprose/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building hprose for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-hprose"
8 |
9 | # Download the source
10 | if [ ${SHORT_VERSION} == '80' ]; then
11 | echo 'Hprose is not supported in php8'
12 | exit 0
13 | else
14 | # Download the source
15 | download_from_pecl hprose
16 |
17 | build_package hprose
18 | fi
19 |
--------------------------------------------------------------------------------
/package-builder/extensions/hprose/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/hprose/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-hprose
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/hprose
8 |
9 | Package: gcp-php${SHORT_VERSION}-hprose
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: hprose extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/hprose/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: hprose
3 | Upstream-Contact: Bingyao Ma
4 | Source: https://pecl.php.net/package/hprose
5 |
6 | Files: *
7 | Copyright: 2008-2016 http://hprose.com
8 | License: MIT
9 |
10 | Files: debian/*
11 | Copyright: 2017 Google, Inc.
12 | License: Apache-2.0
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/hprose/debian/ext-hprose.ini:
--------------------------------------------------------------------------------
1 | extension=hprose.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/hprose/debian/gcp-php-hprose.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-hprose.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/hprose/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-hprose \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/igbinary/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building igbinary for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-igbinary"
8 |
9 | # Download the source
10 | download_from_pecl igbinary
11 |
12 | build_package igbinary
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/igbinary/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/igbinary/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-igbinary
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://github.com/igbinary/igbinary/
8 |
9 | Package: gcp-php${SHORT_VERSION}-igbinary
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: igbinary extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/igbinary/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: igbinary
3 | Upstream-Contact: Oleg Grenrus
4 | Source: https://github.com/igbinary/igbinary/
5 |
6 | Files: *
7 | Copyright: 2008 Sulake Dynamoid Oy, 2008-2014 Oleg Grenrus, Teddy Grenman, igbinary contributors
8 | License: BSD-3-Clause
9 |
10 | Files: debian/*
11 | Copyright: 2017 Google, Inc.
12 | License: Apache-2.0
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/igbinary/debian/ext-igbinary.ini:
--------------------------------------------------------------------------------
1 | extension=igbinary.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/igbinary/debian/gcp-php-igbinary.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-igbinary.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/igbinary/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-igbinary \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/imagick/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building imagick for gcp-php${SHORT_VERSION}"
8 |
9 | PNAME="gcp-php${SHORT_VERSION}-imagick"
10 | apt-get install -y fonts-urw-base35 || true
11 | apt-get install -y libfreetype6-dev || true
12 | apt-get install -y texlive-fonts-recommended || true
13 |
14 | # Download the source
15 | #download_from_pecl imagick
16 | download_from_git https://github.com/Imagick/imagick 7.0.10-27
17 |
18 | build_package imagick
19 |
--------------------------------------------------------------------------------
/package-builder/extensions/imagick/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/imagick/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-imagick
2 | Section: php
3 | Priority: optional
4 | Maintainer: Takashi Matsuo
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/imagick
8 |
9 | Package: gcp-php${SHORT_VERSION}-imagick
10 | Architecture: any
11 | Depends: imagemagick (>= 6.5.4), gcp-php${SHORT_VERSION}
12 | Description: imagick extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/imagick/debian/ext-imagick.ini:
--------------------------------------------------------------------------------
1 | extension=imagick.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/imagick/debian/gcp-php-imagick.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-imagick.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/imagick/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-imagick \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/jsonc/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-json"
8 |
9 | # Download the source
10 | if [ ${SHORT_VERSION} == '56' ]; then
11 | echo "Building json for gcp-php${SHORT_VERSION}"
12 | download_from_pecl jsonc
13 | else
14 | echo "no need for building jsonc for gcp-php${SHORT_VERSION}"
15 | exit 0
16 | fi
17 |
18 | build_package jsonc
19 |
--------------------------------------------------------------------------------
/package-builder/extensions/jsonc/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/jsonc/debian/control:
--------------------------------------------------------------------------------
1 | Source: gcp-php56-json
2 | Section: php
3 | Priority: optional
4 | Maintainer: Takashi Matsuo
5 | Build-Depends: debhelper (>= 9), gcp-php56, libjson-c-dev
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/jsonc
8 |
9 | Package: gcp-php56-json
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), libjson-c2, gcp-php56
12 | Description: json extension module for gcp-php56
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/jsonc/debian/ext-json.ini:
--------------------------------------------------------------------------------
1 | extension=json.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/jsonc/debian/gcp-php56-json.install:
--------------------------------------------------------------------------------
1 | debian/ext-json.ini opt/php56/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/jsonc/debian/rules:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php56-json \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/jsond/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building jsond for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-jsond"
8 |
9 | # Download the source
10 | if [ ${SHORT_VERSION} == '80' ]; then
11 | echo 'Json support is included in php8'
12 | exit 0
13 | else
14 | # Download the source
15 | download_from_pecl jsond
16 |
17 | build_package jsond
18 | fi
19 |
--------------------------------------------------------------------------------
/package-builder/extensions/jsond/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/jsond/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-jsond
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/jsond
8 |
9 | Package: gcp-php${SHORT_VERSION}-jsond
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: jsond extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/jsond/debian/ext-jsond.ini:
--------------------------------------------------------------------------------
1 | extension=jsond.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/jsond/debian/gcp-php-jsond.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-jsond.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/jsond/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-jsond \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/krb5/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building krb5 for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-krb5"
8 |
9 | apt-get install -y libkrb5-dev
10 |
11 | # Download the source
12 | download_from_pecl krb5
13 |
14 | build_package krb5
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/krb5/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/krb5/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-krb5
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/krb5
8 |
9 | Package: gcp-php${SHORT_VERSION}-krb5
10 | Architecture: any
11 | Depends: libkrb5-3, libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: krb5 extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/krb5/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: krb5
3 | Upstream-Contact: Moritz Bechler
4 | Source: https://pecl.php.net/package/krb5
5 |
6 | Files: *
7 | Copyright: 2008 Moritz Bechler
8 | License: New BSD License
9 |
10 | Files: debian/*
11 | Copyright: 2017 Google, Inc.
12 | License: Apache-2.0
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/krb5/debian/ext-krb5.ini:
--------------------------------------------------------------------------------
1 | extension=krb5.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/krb5/debian/gcp-php-krb5.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-krb5.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/krb5/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-krb5 \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/libsodium/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building libsodium for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-libsodium"
8 |
9 | # Download the source
10 | if [ ${SHORT_VERSION} == '56' ]; then
11 | download_from_pecl libsodium 1.0.7
12 | elif [ ${SHORT_VERSION} == '73' ] || [ ${SHORT_VERSION} == '74' ] || [ ${SHORT_VERSION} == '80' ]; then
13 | echo "Sodium already builtin for gcp-php${SHORT_VERSION}"
14 | exit 0
15 | else
16 | download_from_pecl libsodium 2.0.23
17 | fi
18 |
19 | build_package libsodium
20 |
--------------------------------------------------------------------------------
/package-builder/extensions/libsodium/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/libsodium/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-libsodium
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/libsodium
8 |
9 | Package: gcp-php${SHORT_VERSION}-libsodium
10 | Architecture: any
11 | Depends: libsodium23, libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: libsodium extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/libsodium/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: libsodium
3 | Upstream-Contact: Frank Denis
4 | Source: https://pecl.php.net/package/libsodium
5 |
6 | Files: *
7 | Copyright: 2013-2017, Frank Denis
8 | License: BSD 2-Clause License
9 |
10 | Files: debian/*
11 | Copyright: 2017 Google, Inc.
12 | License: Apache-2.0
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/libsodium/debian/ext-libsodium.ini:
--------------------------------------------------------------------------------
1 | extension=libsodium.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/libsodium/debian/ext-sodium.ini:
--------------------------------------------------------------------------------
1 | extension=sodium.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/libsodium/debian/gcp-php-libsodium.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-libsodium.ini opt/php${SHORT_VERSION}/lib/ext.available
2 | debian/ext-sodium.ini opt/php${SHORT_VERSION}/lib/ext.available
3 |
--------------------------------------------------------------------------------
/package-builder/extensions/libsodium/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-libsodium \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/lua/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building lua for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-lua"
8 |
9 | if [ ${SHORT_VERSION} == '56' ]; then
10 | echo "lua extension only for PHP 7.0+"
11 | exit 0
12 | elif [ ${SHORT_VERSION} == '80' ]; then
13 | echo "lua extension is not supported in PHP 8.0 yet"
14 | exit 0
15 | fi
16 |
17 | ln -sf /usr/include/lua5.3 /usr/include/lua
18 | ln -sf /usr/lib/x86_64-linux-gnu/liblua5.3.a /usr/lib/x86_64-linux-gnu/lua.a
19 |
20 | # Download the source
21 | download_from_pecl lua
22 |
23 | build_package lua
24 |
--------------------------------------------------------------------------------
/package-builder/extensions/lua/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/lua/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-lua
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/lua
8 |
9 | Package: gcp-php${SHORT_VERSION}-lua
10 | Architecture: any
11 | Depends: liblua5.3-0, libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: lua extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/lua/debian/ext-lua.ini:
--------------------------------------------------------------------------------
1 | extension=lua.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/lua/debian/gcp-php-lua.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-lua.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/lua/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure --with-lua=/usr --with-lua-version=5.3
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-lua \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/lzf/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building lzf for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-lzf"
8 |
9 | # Download the source
10 | download_from_pecl LZF
11 |
12 | build_package lzf
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/lzf/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/lzf/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-lzf
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/lzf
8 |
9 | Package: gcp-php${SHORT_VERSION}-lzf
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: lzf extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/lzf/debian/ext-lzf.ini:
--------------------------------------------------------------------------------
1 | extension=lzf.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/lzf/debian/gcp-php-lzf.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-lzf.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/lzf/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-lzf \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/mailparse/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building mailparse for gcp-php${SHORT_VERSION}"
8 |
9 | PNAME="gcp-php${SHORT_VERSION}-mailparse"
10 |
11 | # Download the source
12 | if [ ${SHORT_VERSION} == '56' ]; then
13 | download_from_pecl mailparse 2.1.6
14 | else
15 | download_from_pecl mailparse
16 | fi
17 |
18 | build_package mailparse
19 |
--------------------------------------------------------------------------------
/package-builder/extensions/mailparse/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/mailparse/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-mailparse
2 | Section: php
3 | Priority: optional
4 | Maintainer: Takashi Matsuo
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/mailparse
8 |
9 | Package: gcp-php${SHORT_VERSION}-mailparse
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: mailparse extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/mailparse/debian/ext-mailparse.ini:
--------------------------------------------------------------------------------
1 | extension=mailparse.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/mailparse/debian/gcp-php-mailparse.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-mailparse.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/mailparse/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-mailparse \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/memcache/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building memcache for gcp-php${SHORT_VERSION}"
8 |
9 | PNAME="gcp-php${SHORT_VERSION}-memcache"
10 |
11 | # Download the source
12 | if [ ${SHORT_VERSION} == '56' ]; then
13 | download_from_pecl memcache
14 | else
15 | # We only build memcache for PHP 5.6.x
16 | exit 0
17 | fi
18 |
19 | build_package memcache
20 |
--------------------------------------------------------------------------------
/package-builder/extensions/memcache/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/memcache/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-memcache
2 | Section: php
3 | Priority: optional
4 | Maintainer: Takashi Matsuo
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}, zlib1g-dev
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/memcache
8 |
9 | Package: gcp-php${SHORT_VERSION}-memcache
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), zlib1g (>= 1:1.1.4), gcp-php${SHORT_VERSION}
12 | Description: memcache extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/memcache/debian/ext-memcache.ini:
--------------------------------------------------------------------------------
1 | extension=memcache.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/memcache/debian/gcp-php-memcache.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-memcache.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/memcache/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-memcache \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/memcached/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building memcached for gcp-php${SHORT_VERSION}"
8 |
9 | PNAME="gcp-php${SHORT_VERSION}-memcached"
10 |
11 | # Download the source
12 | if [ ${SHORT_VERSION} == '56' ]; then
13 | download_from_pecl memcached 2.2.0
14 | else
15 | download_from_pecl memcached
16 | fi
17 |
18 | build_package memcached
19 |
--------------------------------------------------------------------------------
/package-builder/extensions/memcached/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/memcached/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-memcached
2 | Section: php
3 | Priority: optional
4 | Maintainer: Takashi Matsuo
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}, libmemcached-dev (>= 1.0.0)
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/memcached
8 |
9 | Package: gcp-php${SHORT_VERSION}-memcached
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), libmemcached11, libmemcachedutil2, libsasl2-2, zlib1g (>= 1:1.1.4), gcp-php${SHORT_VERSION}
12 | Description: memcached extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/memcached/debian/ext-memcached.ini:
--------------------------------------------------------------------------------
1 | extension=memcached.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/memcached/debian/gcp-php-memcached.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-memcached.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/memcached/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-memcached \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/memprof/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building memprof for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-memprof"
8 |
9 | apt-get install -y gawk libjudy-dev
10 |
11 | # Download the source
12 | if [ ${SHORT_VERSION} == '56' ]; then
13 | download_from_pecl memprof 1.0.0
14 | else
15 | download_from_pecl memprof
16 | fi
17 |
18 | build_package memprof
19 |
--------------------------------------------------------------------------------
/package-builder/extensions/memprof/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/memprof/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-memprof
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/memprof
8 |
9 | Package: gcp-php${SHORT_VERSION}-memprof
10 | Architecture: any
11 | Depends: libjudydebian1, libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: memprof extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/memprof/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: memprof
3 | Upstream-Contact: Arnaud Le Blanc
4 | Source: https://pecl.php.net/package/memprof
5 |
6 | Files: *
7 | Copyright: 2013 Arnaud Le Blanc
8 | License: BSD
9 |
10 | Files: debian/*
11 | Copyright: 2017 Google, Inc.
12 | License: Apache-2.0
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/memprof/debian/ext-memprof.ini:
--------------------------------------------------------------------------------
1 | extension=memprof.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/memprof/debian/gcp-php-memprof.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-memprof.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/memprof/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-memprof \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/mongo/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building mongo for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-mongo"
8 |
9 | # Download the source
10 | if [ ${SHORT_VERSION} != '56' ]; then
11 | echo "deprecated mongo ext supported only on PHP 5.6"
12 | exit 0
13 | else
14 | download_from_pecl mongo
15 | fi
16 |
17 | build_package mongo
18 |
--------------------------------------------------------------------------------
/package-builder/extensions/mongo/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/mongo/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-mongo
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeremy Mikola
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/mongo
8 |
9 | Package: gcp-php${SHORT_VERSION}-mongo
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: mongo extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/mongo/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: mongo
3 | Upstream-Contact: Daniel Holmes
4 | Source: https://pecl.php.net/package/mongo
5 |
6 | Files: *
7 | Copyright: Copyright 2009-2014 MongoDB, Inc.
8 | License: Apache-2.0
9 |
--------------------------------------------------------------------------------
/package-builder/extensions/mongo/debian/ext-mongo.ini:
--------------------------------------------------------------------------------
1 | extension=mongo.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/mongo/debian/gcp-php-mongo.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-mongo.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/mongo/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-mongo \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/mongodb/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building mongodb for gcp-php${SHORT_VERSION}"
8 |
9 | PNAME="gcp-php${SHORT_VERSION}-mongodb"
10 |
11 | # Download the source
12 | download_from_pecl mongodb 1.9.1
13 |
14 | build_package mongodb
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/mongodb/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/mongodb/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-mongodb
2 | Section: php
3 | Priority: optional
4 | Maintainer: Takashi Matsuo
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/mongodb
8 |
9 | Package: gcp-php${SHORT_VERSION}-mongodb
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: mongodb extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/mongodb/debian/ext-mongodb.ini:
--------------------------------------------------------------------------------
1 | extension=mongodb.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/mongodb/debian/gcp-php-mongodb.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-mongodb.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/mongodb/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-mongodb \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/oauth/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building oauth for gcp-php${SHORT_VERSION}"
8 |
9 | PNAME="gcp-php${SHORT_VERSION}-oauth"
10 |
11 | # Download the source
12 | if [ ${SHORT_VERSION} == "56" ]; then
13 | download_from_pecl oauth 1.2.3
14 | else
15 | download_from_pecl oauth
16 | fi
17 |
18 | build_package oauth
19 |
--------------------------------------------------------------------------------
/package-builder/extensions/oauth/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/oauth/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-oauth
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/oauth
8 |
9 | Package: gcp-php${SHORT_VERSION}-oauth
10 | Architecture: any
11 | Depends: imagemagick (>= 6.5.4), gcp-php${SHORT_VERSION}
12 | Description: oauth extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/oauth/debian/ext-oauth.ini:
--------------------------------------------------------------------------------
1 | extension=oauth.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/oauth/debian/gcp-php-oauth.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-oauth.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/oauth/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-oauth \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/opencensus/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/opencensus/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-opencensus
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://github.com/census-instrumentation/opencensus-php
8 |
9 | Package: gcp-php${SHORT_VERSION}-opencensus
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: opencensus extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/opencensus/debian/ext-opencensus.ini:
--------------------------------------------------------------------------------
1 | extension=opencensus.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/opencensus/debian/gcp-php-opencensus.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-opencensus.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/opencensus/debian/rules:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure --enable-opencensus
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-opencensus \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/opencensus/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-opencensus \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/phalcon/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/phalcon/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-phalcon
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/phalcon
8 |
9 | Package: gcp-php${SHORT_VERSION}-phalcon
10 | Architecture: any
11 | Depends: ucf, libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: phalcon extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/phalcon/debian/ext-phalcon.ini:
--------------------------------------------------------------------------------
1 | extension=phalcon.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/phalcon/debian/gcp-php-phalcon.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-phalcon.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/phalcon/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-phalcon \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/pq/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building pq for gcp-php${SHORT_VERSION}"
8 |
9 | apt-get install -y libpq-dev
10 |
11 | install_last_package "gcp-php${SHORT_VERSION}-raphf"
12 | /opt/php${SHORT_VERSION}/bin/php${SHORT_VERSION}-enmod raphf
13 |
14 | PNAME="gcp-php${SHORT_VERSION}-pq"
15 |
16 | # Download the source
17 | if [ ${SHORT_VERSION} == "56" ]; then
18 | download_from_pecl pq 1.1.1
19 | else
20 | download_from_git https://github.com/m6w6/ext-pq.git 2.1.9
21 | fi
22 |
23 | build_package pq
24 |
--------------------------------------------------------------------------------
/package-builder/extensions/pq/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/pq/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-pq
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/pq
8 |
9 | Package: gcp-php${SHORT_VERSION}-pq
10 | Architecture: any
11 | Depends: libpq5, gcp-php${SHORT_VERSION}-raphf, gcp-php${SHORT_VERSION}
12 | Description: pq extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/pq/debian/ext-pq.ini:
--------------------------------------------------------------------------------
1 | extension=pq.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/pq/debian/gcp-php-pq.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-pq.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/pq/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-pq \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/protobuf/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building protobuf for gcp-php${SHORT_VERSION}"
8 |
9 | PNAME="gcp-php${SHORT_VERSION}-protobuf"
10 |
11 | # Download the source
12 | download_from_pecl protobuf
13 | build_package protobuf
14 |
--------------------------------------------------------------------------------
/package-builder/extensions/protobuf/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/protobuf/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-protobuf
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/protobuf
8 |
9 | Package: gcp-php${SHORT_VERSION}-protobuf
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: protobuf extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/protobuf/debian/ext-protobuf.ini:
--------------------------------------------------------------------------------
1 | extension=protobuf.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/protobuf/debian/gcp-php-protobuf.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-protobuf.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/protobuf/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-protobuf \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/ps/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building ps for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-ps"
8 |
9 | if [ ${SHORT_VERSION} == '56' ]; then
10 | echo "ps extension only for PHP 7.0+"
11 | exit 0
12 | fi
13 |
14 | apt-get install -y pslib-dev
15 |
16 | # Download the source
17 | if [ ${SHORT_VERSION} == '56' ]; then
18 | download_from_pecl ps 1.4.0
19 | else
20 | download_from_pecl ps
21 | fi
22 |
23 | build_package ps
24 |
--------------------------------------------------------------------------------
/package-builder/extensions/ps/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/ps/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-ps
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/ps
8 |
9 | Package: gcp-php${SHORT_VERSION}-ps
10 | Architecture: any
11 | Depends: pslib1, libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: ps extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/ps/debian/ext-ps.ini:
--------------------------------------------------------------------------------
1 | extension=ps.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/ps/debian/gcp-php-ps.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-ps.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/ps/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-ps \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/raphf/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building raphf for gcp-php${SHORT_VERSION}"
8 |
9 | PNAME="gcp-php${SHORT_VERSION}-raphf"
10 |
11 | # Download the source
12 |
13 | if [ ${SHORT_VERSION} == "56" ]; then
14 | download_from_pecl raphf 1.1.2
15 | else
16 | download_from_git https://github.com/m6w6/ext-raphf.git 2.0.2
17 | fi
18 |
19 | build_package raphf
20 |
--------------------------------------------------------------------------------
/package-builder/extensions/raphf/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/raphf/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-raphf
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/raphf
8 |
9 | Package: gcp-php${SHORT_VERSION}-raphf
10 | Architecture: any
11 | Depends: gcp-php${SHORT_VERSION}
12 | Description: raphf extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/raphf/debian/ext-raphf.ini:
--------------------------------------------------------------------------------
1 | extension=raphf.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/raphf/debian/gcp-php-raphf.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-raphf.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/raphf/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-raphf \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/rdkafka/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building rdkafka for gcp-php${SHORT_VERSION}"
8 |
9 | apt-get install -y librdkafka-dev
10 |
11 | PNAME="gcp-php${SHORT_VERSION}-rdkafka"
12 |
13 | # Download the source
14 | download_from_pecl rdkafka
15 |
16 | build_package rdkafka
17 |
--------------------------------------------------------------------------------
/package-builder/extensions/rdkafka/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/rdkafka/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-rdkafka
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/rdkafka
8 |
9 | Package: gcp-php${SHORT_VERSION}-rdkafka
10 | Architecture: any
11 | Depends: librdkafka1, libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: rdkafka extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/rdkafka/debian/ext-rdkafka.ini:
--------------------------------------------------------------------------------
1 | extension=rdkafka.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/rdkafka/debian/gcp-php-rdkafka.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-rdkafka.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/rdkafka/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-rdkafka \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/redis/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building redis for gcp-php${SHORT_VERSION}"
8 |
9 | PNAME="gcp-php${SHORT_VERSION}-redis"
10 |
11 | # Download the source
12 | download_from_pecl redis 5.3.4
13 |
14 | build_package redis
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/redis/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/redis/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-redis
2 | Section: php
3 | Priority: optional
4 | Maintainer: Takashi Matsuo
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: http://pecl.php.net/package/redis
8 |
9 | Package: gcp-php${SHORT_VERSION}-redis
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: redis extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/redis/debian/ext-redis.ini:
--------------------------------------------------------------------------------
1 | extension=redis.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/redis/debian/gcp-php-redis.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-redis.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/redis/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-redis \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/seaslog/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building seaslog for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-seaslog"
8 |
9 | # Download the source
10 | download_from_pecl SeasLog
11 |
12 | build_package seaslog
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/seaslog/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/seaslog/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-seaslog
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/SeasLog
8 |
9 | Package: gcp-php${SHORT_VERSION}-seaslog
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: seaslog extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/seaslog/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: seaslog
3 | Upstream-Contact: Chitao Gao
4 | Source: https://pecl.php.net/package/SeasLog
5 |
6 | Files: *
7 | Copyright: Neeke.Gao [ciogao@gmail.com]
8 | License: Apache-2.0
9 |
10 | Files: debian/*
11 | Copyright: 2017 Google, Inc.
12 | License: Apache-2.0
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/seaslog/debian/ext-seaslog.ini:
--------------------------------------------------------------------------------
1 | extension=seaslog.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/seaslog/debian/gcp-php-seaslog.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-seaslog.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/seaslog/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-seaslog \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/skeleton/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building ${EXT_NAME} for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-${EXT_NAME}"
8 |
9 | # Download the source
10 | download_from_pecl ${EXT_FULL_NAME}
11 |
12 | build_package ${EXT_FULL_NAME}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/skeleton/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/skeleton/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-${EXT_NAME}
2 | Section: php
3 | Priority: optional
4 | Maintainer: ${MAINTAINER}
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: ${HOMEPAGE}
8 |
9 | Package: gcp-php${SHORT_VERSION}-${EXT_NAME}
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: ${EXT_NAME} extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/skeleton/debian/ext.ini:
--------------------------------------------------------------------------------
1 | extension=${EXT_NAME}.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/skeleton/debian/install.in:
--------------------------------------------------------------------------------
1 | debian/ext-${EXT_NAME}.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/skeleton/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-${EXT_NAME} \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/stackdriver_debugger/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/stackdriver_debugger/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-stackdriver-debugger
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://github.com/GoogleCloudPlatform/stackdriver-debugger-php-extension
8 |
9 | Package: gcp-php${SHORT_VERSION}-stackdriver-debugger
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: stackdriver-debugger extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/stackdriver_debugger/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: stackdriver-debugger
3 | Upstream-Contact: Jeff Ching
4 | Source: https://github.com/GoogleCloudPlatform/stackdriver-debugger-php-extension
5 |
6 | Files: *
7 | Copyright: 2017 Google, Inc.
8 | License: Apache-2.0
9 |
--------------------------------------------------------------------------------
/package-builder/extensions/stackdriver_debugger/debian/ext-stackdriver-debugger.ini:
--------------------------------------------------------------------------------
1 | extension=stackdriver-debugger.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/stackdriver_debugger/debian/gcp-php-stackdriver-debugger.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-stackdriver-debugger.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/stackdriver_debugger/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-stackdriver-debugger \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/stomp/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building stomp for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-stomp"
8 |
9 | # Download the source
10 | if [ ${SHORT_VERSION} == '56' ]; then
11 | download_from_pecl stomp 1.0.9
12 | elif [ ${SHORT_VERSION} == '80' ]; then
13 | download_from_git https://github.com/php/pecl-tools-stomp.git 3.0
14 | else
15 | download_from_pecl stomp
16 | fi
17 |
18 | build_package stomp
19 |
--------------------------------------------------------------------------------
/package-builder/extensions/stomp/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/stomp/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-stomp
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/stomp
8 |
9 | Package: gcp-php${SHORT_VERSION}-stomp
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: stomp extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/stomp/debian/ext-stomp.ini:
--------------------------------------------------------------------------------
1 | extension=stomp.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/stomp/debian/gcp-php-stomp.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-stomp.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/stomp/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-stomp \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/suhosin/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -ex
4 |
5 | source ${DEB_BUILDER_DIR}/functions.sh
6 |
7 | echo "Building suhosin for gcp-php${SHORT_VERSION}"
8 |
9 | PNAME="gcp-php${SHORT_VERSION}-suhosin"
10 |
11 | # Download the source
12 | if [ ${SHORT_VERSION} == '56' ]; then
13 | download_from_tarball https://github.com/stefanesser/suhosin/archive/0.9.38.tar.gz 0.9.38
14 | else
15 | echo "Not yet implemented"
16 | exit 0
17 | fi
18 |
19 | build_package suhosin
20 |
--------------------------------------------------------------------------------
/package-builder/extensions/suhosin/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/suhosin/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-suhosin
2 | Section: php
3 | Priority: optional
4 | Maintainer: Takashi Matsuo
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://suhosin.org/stories/index.html
8 |
9 | Package: gcp-php${SHORT_VERSION}-suhosin
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: suhosin extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/suhosin/debian/ext-suhosin.ini:
--------------------------------------------------------------------------------
1 | extension=suhosin.so
2 |
3 | ; Configure the suhosin defaults that we want.
4 | suhosin.executor.disable_emodifier = On
5 | suhosin.executor.func.blacklist="escapeshellarg, escapeshellcmd, exec, highlight_file, lchgrp, lchown, link, symlink, passthru, pclose, popen, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, shell_exec, show_source, system, gc_collect_cycles, gc_enable, gc_disable, gc_enabled, getmypid, getmyuid, getmygid, getrusage, getmyinode, get_current_user, phpinfo, phpversion, php_uname"
6 | suhosin.log.file = 511
7 | suhosin.log.file.name = /dev/stderr
8 | ; Turn on the simulation mode by default
9 | suhosin.simulation = On
10 |
--------------------------------------------------------------------------------
/package-builder/extensions/suhosin/debian/gcp-php-suhosin.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-suhosin.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/suhosin/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-suhosin \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/swoole/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building swoole for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-swoole"
8 |
9 | # Download the source
10 | if [ ${SHORT_VERSION} == "56" ]; then
11 | download_from_pecl swoole 2.0.12
12 | else
13 | download_from_pecl swoole
14 | fi
15 |
16 | build_package swoole
17 |
--------------------------------------------------------------------------------
/package-builder/extensions/swoole/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/swoole/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-swoole
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/swoole
8 |
9 | Package: gcp-php${SHORT_VERSION}-swoole
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: swoole extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/swoole/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: swoole
3 | Upstream-Contact: Han Tianfeng
4 | Source: https://pecl.php.net/package/swoole
5 |
6 | Files: *
7 | Copyright: Tianfeng.Han [mikan.tenny@gmail.com]
8 | License: Apache-2.0
9 |
10 | Files: debian/*
11 | Copyright: 2017 Google, Inc.
12 | License: Apache-2.0
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/swoole/debian/ext-swoole.ini:
--------------------------------------------------------------------------------
1 | extension=swoole.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/swoole/debian/gcp-php-swoole.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-swoole.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/swoole/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-swoole \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/sync/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building sync for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-sync"
8 |
9 | # Download the source
10 | download_from_pecl sync
11 |
12 | build_package sync
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/sync/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/sync/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-sync
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/sync
8 |
9 | Package: gcp-php${SHORT_VERSION}-sync
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: sync extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/sync/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: sync
3 | Upstream-Contact: Thomas Hruska
4 | Source: https://pecl.php.net/package/sync
5 |
6 | Files: *
7 | Copyright: 2014 CubicleSoft
8 | License: MIT
9 |
10 | Files: debian/*
11 | Copyright: 2017 Google, Inc.
12 | License: Apache-2.0
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/sync/debian/ext-sync.ini:
--------------------------------------------------------------------------------
1 | extension=sync.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/sync/debian/gcp-php-sync.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-sync.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/sync/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-sync \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/tcpwrap/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building tcpwrap for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-tcpwrap"
8 |
9 | if [ ${SHORT_VERSION} == '80' ]; then
10 | echo "tcpwrap is not supported by PHP 8.0 yet"
11 | exit 0
12 | fi
13 |
14 | apt-get install -y gawk libwrap0-dev
15 |
16 | # Download the source
17 | download_from_pecl tcpwrap
18 |
19 | build_package tcpwrap
20 |
--------------------------------------------------------------------------------
/package-builder/extensions/tcpwrap/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/tcpwrap/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-tcpwrap
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/tcpwrap
8 |
9 | Package: gcp-php${SHORT_VERSION}-tcpwrap
10 | Architecture: any
11 | Depends: libwrap0, libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: tcpwrap extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/tcpwrap/debian/ext-tcpwrap.ini:
--------------------------------------------------------------------------------
1 | extension=tcpwrap.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/tcpwrap/debian/gcp-php-tcpwrap.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-tcpwrap.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/tcpwrap/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-tcpwrap \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/timezonedb/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building timezonedb for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-timezonedb"
8 |
9 | # Download the source
10 | download_from_pecl timezonedb 2021.1
11 |
12 | build_package timezonedb
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/timezonedb/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/timezonedb/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-timezonedb
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/timezonedb
8 |
9 | Package: gcp-php${SHORT_VERSION}-timezonedb
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: timezonedb extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/timezonedb/debian/ext-timezonedb.ini:
--------------------------------------------------------------------------------
1 | extension=timezonedb.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/timezonedb/debian/gcp-php-timezonedb.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-timezonedb.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/timezonedb/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-timezonedb \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/v8js/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building v8js for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-v8js"
8 |
9 | if [ ${SHORT_VERSION} == '56' ]; then
10 | echo "v8js extension only for PHP 7.0+"
11 | exit 0
12 | fi
13 |
14 | install_last_package "libv8"
15 |
16 | ls -al /opt/v8/lib
17 | cp -R /opt/v8/ /usr
18 | echo "LibDir: $PHP_LIBDIR"
19 | # Download the source
20 | #download_from_pecl v8js 2.1.2
21 | download_from_git https://github.com/phpv8/v8js.git 2.1.2
22 |
23 | build_package v8js
24 |
--------------------------------------------------------------------------------
/package-builder/extensions/v8js/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/v8js/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-v8js
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/v8js
8 |
9 | Package: gcp-php${SHORT_VERSION}-v8js
10 | Architecture: any
11 | Depends: libv8, libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: v8js extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/v8js/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: v8js
3 | Upstream-Contact: Stefan Siegl
4 | Source: https://pecl.php.net/package/v8js
5 |
6 | Files: *
7 | Copyright: 2013 The PHP Group
8 | License: MIT
9 |
10 | Files: debian/*
11 | Copyright: 2017 Google, Inc.
12 | License: Apache-2.0
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/v8js/debian/ext-v8js.ini:
--------------------------------------------------------------------------------
1 | extension=v8js.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/v8js/debian/gcp-php-v8js.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-v8js.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/v8js/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | PHP_LIBDIR=/opt/v8 ./configure --with-v8js=/opt/v8 LDFLAGS="-lstdc++" CPPFLAGS="-DV8_COMPRESS_POINTERS"
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-v8js \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/vips/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building vips for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-vips"
8 |
9 | if [ ${SHORT_VERSION} == '56' ]; then
10 | echo "vips extension only for PHP 7.0+"
11 | exit 0
12 | fi
13 |
14 | apt-get install -y libvips42 libvips-dev
15 |
16 | # Download the source
17 | download_from_pecl vips
18 |
19 | build_package vips
20 |
--------------------------------------------------------------------------------
/package-builder/extensions/vips/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/vips/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-vips
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/vips
8 |
9 | Package: gcp-php${SHORT_VERSION}-vips
10 | Architecture: any
11 | Depends: libvips42, libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: vips extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/vips/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: vips
3 | Upstream-Contact: John Cupitt
4 | Source: https://pecl.php.net/package/vips
5 |
6 | Files: *
7 | Copyright: 2016 John Cupitt
8 | License: MIT
9 |
10 | Files: debian/*
11 | Copyright: 2017 Google, Inc.
12 | License: Apache-2.0
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/vips/debian/ext-vips.ini:
--------------------------------------------------------------------------------
1 | extension=vips.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/vips/debian/gcp-php-vips.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-vips.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/vips/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-vips \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/xmlrpc/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building xmlrpc for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-xmlrpc"
8 |
9 | if [ ${SHORT_VERSION} == '80' ]; then
10 | # Download the source
11 | download_from_pecl xmlrpc 1.0.0RC2
12 |
13 | build_package xmlrpc
14 | else
15 | echo 'xmlrpc is builtin already'
16 | exit 0
17 | fi
18 |
--------------------------------------------------------------------------------
/package-builder/extensions/xmlrpc/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/xmlrpc/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-xmlrpc
2 | Section: php
3 | Priority: optional
4 | Maintainer: Brian D. Bradshaw
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/xmlrpc
8 |
9 | Package: gcp-php${SHORT_VERSION}-xmlrpc
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: xmlrpc extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/xmlrpc/debian/ext-xmlrpc.ini:
--------------------------------------------------------------------------------
1 | extension=xmlrpc.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/xmlrpc/debian/gcp-php-xmlrpc.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-xmlrpc.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/xmlrpc/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-xmlrpc \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaconf/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building yaconf for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-yaconf"
8 |
9 | # Download the source
10 | if [ ${SHORT_VERSION} == '56' ]; then
11 | echo "yaconf extension only for PHP 7.0+"
12 | exit 0
13 | fi
14 |
15 | download_from_pecl yaconf
16 |
17 | build_package yaconf
18 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaconf/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaconf/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-yaconf
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/yaconf
8 |
9 | Package: gcp-php${SHORT_VERSION}-yaconf
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: yaconf extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaconf/debian/ext-yaconf.ini:
--------------------------------------------------------------------------------
1 | extension=yaconf.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaconf/debian/gcp-php-yaconf.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-yaconf.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaconf/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-yaconf \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaf/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building yaf for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-yaf"
8 |
9 | # Download the source
10 | if [ ${SHORT_VERSION} == '56' ]; then
11 | download_from_pecl yaf 2.3.5
12 | else
13 | download_from_pecl yaf
14 | fi
15 |
16 | build_package yaf
17 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaf/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaf/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-yaf
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/yaf
8 |
9 | Package: gcp-php${SHORT_VERSION}-yaf
10 | Architecture: any
11 | Depends: libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: yaf extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaf/debian/ext-yaf.ini:
--------------------------------------------------------------------------------
1 | extension=yaf.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaf/debian/gcp-php-yaf.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-yaf.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaf/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-yaf \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaml/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | source ${DEB_BUILDER_DIR}/functions.sh
4 |
5 | echo "Building yaml for gcp-php${SHORT_VERSION}"
6 |
7 | PNAME="gcp-php${SHORT_VERSION}-yaml"
8 |
9 | apt-get install -y libyaml-dev
10 |
11 | # Download the source
12 | if [ ${SHORT_VERSION} == '56' ]; then
13 | download_from_pecl yaml 1.3.1
14 | else
15 | download_from_pecl yaml
16 | fi
17 |
18 | build_package yaml
19 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaml/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaml/debian/control.in:
--------------------------------------------------------------------------------
1 | Source: gcp-php${SHORT_VERSION}-yaml
2 | Section: php
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9), gcp-php${SHORT_VERSION}
6 | Standards-Version: 3.9.5
7 | Homepage: https://pecl.php.net/package/yaml
8 |
9 | Package: gcp-php${SHORT_VERSION}-yaml
10 | Architecture: any
11 | Depends: libyaml-0-2, libc6 (>= 2.4), gcp-php${SHORT_VERSION}
12 | Description: yaml extension module for gcp-php${SHORT_VERSION}
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaml/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: yaml
3 | Upstream-Contact: Bryan Davis
4 | Source: https://pecl.php.net/package/yaml
5 |
6 | Files: *
7 | Copyright: 2007 Ryusuke SEKIYAMA, 2009 Keynetics Inc, 2015 Bryan Davis and contributors
8 | License: MIT
9 |
10 | Files: debian/*
11 | Copyright: 2017 Google, Inc.
12 | License: Apache-2.0
13 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaml/debian/ext-yaml.ini:
--------------------------------------------------------------------------------
1 | extension=yaml.so
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaml/debian/gcp-php-yaml.install.in:
--------------------------------------------------------------------------------
1 | debian/ext-yaml.ini opt/php${SHORT_VERSION}/lib/ext.available
2 |
--------------------------------------------------------------------------------
/package-builder/extensions/yaml/debian/rules.in:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | override_dh_auto_configure:
7 | phpize && \
8 | ./configure
9 |
10 | override_dh_auto_test:
11 |
12 | override_dh_auto_install:
13 | INSTALL_ROOT=$(CURDIR)/debian/gcp-php${SHORT_VERSION}-yaml \
14 | dh_auto_install
15 |
--------------------------------------------------------------------------------
/package-builder/libraries/librabbitmq/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/libraries/librabbitmq/debian/control:
--------------------------------------------------------------------------------
1 | Source: librabbitmq
2 | Section: libs
3 | Priority: optional
4 | Maintainer: Brian Bradshaw
5 | Build-Depends: debhelper (>= 9)
6 | Standards-Version: 3.9.5
7 | Homepage: https://github.com/alanxz/rabbitmq-c
8 |
9 | Package: librabbitmq
10 | Section: libs
11 | Architecture: any
12 | Depends: libssl1.1, libc6 (>= 2.14)
13 | Description: AMQP client library written in C
14 |
15 | Package: librabbitmq-dev
16 | Section: libdevel
17 | Architecture: any
18 | Depends: librabbitmq (>= 0.11.0)
19 | Description: AMQP client library written in C
20 |
--------------------------------------------------------------------------------
/package-builder/libraries/librabbitmq/debian/librabbitmq-dev.install:
--------------------------------------------------------------------------------
1 | #! /usr/bin/dh-exec
2 |
3 | usr/include/* usr/include
4 | usr/lib/${DEB_HOST_MULTIARCH}/*.a usr/lib/${DEB_HOST_MULTIARCH}
5 | usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/* usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig
--------------------------------------------------------------------------------
/package-builder/libraries/librabbitmq/debian/librabbitmq.install:
--------------------------------------------------------------------------------
1 | #! /usr/bin/dh-exec
2 |
3 | usr/lib/${DEB_HOST_MULTIARCH}/*.so.* usr/lib/${DEB_HOST_MULTIARCH}
--------------------------------------------------------------------------------
/package-builder/libraries/librabbitmq/debian/librabbitmq.links:
--------------------------------------------------------------------------------
1 | #! /usr/bin/dh-exec
2 |
3 | usr/lib/${DEB_HOST_MULTIARCH}/librabbitmq.so.4.5.0 usr/lib/${DEB_HOST_MULTIARCH}/librabbitmq4.so
4 | usr/lib/${DEB_HOST_MULTIARCH}/librabbitmq.so.4.5.0 usr/lib/${DEB_HOST_MULTIARCH}/librabbitmq.so.4
5 | usr/lib/${DEB_HOST_MULTIARCH}/librabbitmq.so.4.5.0 usr/lib/${DEB_HOST_MULTIARCH}/librabbitmq.so
--------------------------------------------------------------------------------
/package-builder/libraries/librabbitmq/debian/rules:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | NUMJOBS=1
4 |
5 | %:
6 | dh $@ -v
7 |
8 | # Copy built files to base package and dev package directories
9 | override_dh_auto_install:
10 | mkdir -p debian/tmp/usr/include
11 | mkdir -p debian/tmp/usr/lib/${DEB_HOST_MULTIARCH}/cmake/rabbitmq-c
12 | mkdir -p debian/tmp/usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig
13 | mkdir -p debian/tmp/usr/share
14 | cp -R usr debian/tmp/usr
15 |
16 | override_dh_auto_configure:
17 | override_dh_auto_build:
18 | override_dh_auto_test:
19 | override_dh_auto_clean:
20 |
--------------------------------------------------------------------------------
/package-builder/libraries/libv8/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/libraries/libv8/debian/control:
--------------------------------------------------------------------------------
1 | Source: libv8
2 | Section: libs
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9)
6 | Standards-Version: 3.9.5
7 | Homepage: https://github.com/jcupitt/libvips
8 |
9 | Package: libv8
10 | Section: libs
11 | Architecture: any
12 | Depends: libc6 (>= 2.4)
13 | Description: V8 JavaScript Engine
14 |
--------------------------------------------------------------------------------
/package-builder/libraries/libv8/debian/libv8.install:
--------------------------------------------------------------------------------
1 | out.gn/x64.release/lib*.so /opt/v8/lib
2 | out.gn/x64.release/*_blob.bin /opt/v8/lib
3 | out.gn/x64.release/icudtl.dat /opt/v8/lib
4 | include/* /opt/v8/include
5 |
--------------------------------------------------------------------------------
/package-builder/libraries/libv8/debian/rules:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@ --parallel
5 |
6 | override_dh_auto_configure:
7 | CXX=g++-8 tools/dev/v8gen.py -vv x64.release -- is_component_build=true
8 |
9 | override_dh_auto_test:
10 |
11 | override_dh_auto_build:
12 | ninja -C out.gn/x64.release/
13 |
14 | override_dh_auto_clean:
15 |
--------------------------------------------------------------------------------
/package-builder/libraries/libvips/debian/compat:
--------------------------------------------------------------------------------
1 | 9
2 |
--------------------------------------------------------------------------------
/package-builder/libraries/libvips/debian/control:
--------------------------------------------------------------------------------
1 | Source: libvips
2 | Section: libs
3 | Priority: optional
4 | Maintainer: Jeff Ching
5 | Build-Depends: debhelper (>= 9)
6 | Standards-Version: 3.9.5
7 | Homepage: https://github.com/jcupitt/libvips
8 |
9 | Package: libvips
10 | Section: libs
11 | Architecture: any
12 | Depends: libilmbase12, libopenexr22, libexif12, librsvg2-2, libtiff5, libjpeg-turbo8, libgsf-1-114, libc6 (>= 2.4)
13 | Description: Large image processing library
14 |
15 | Package: libvips-dev
16 | Section: libdevel
17 | Architecture: any
18 | Depends: libtiff5-dev, libjpeg-turbo8-dev, libgsf-1-dev, libvips
19 | Description: Large image processing library - development files
20 |
--------------------------------------------------------------------------------
/package-builder/libraries/libvips/debian/copyright:
--------------------------------------------------------------------------------
1 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2 | Upstream-Name: libvips
3 | Upstream-Contact: John Cupitt
4 | Source: https://github.com/jcupitt/libvips
5 |
6 | Files: *
7 | Copyright: 1999-2014, John Cupitt
8 | License: LGPL 2.1+
9 |
10 | Files: debian/*
11 | Copyright: 2017 Google, Inc.
12 | License: Apache-2.0
13 |
--------------------------------------------------------------------------------
/package-builder/libraries/libvips/debian/libvips-dev.install:
--------------------------------------------------------------------------------
1 | #! /usr/bin/dh-exec
2 |
3 | usr/include/vips/*.h
4 |
--------------------------------------------------------------------------------
/package-builder/libraries/libvips/debian/libvips.install:
--------------------------------------------------------------------------------
1 | #! /usr/bin/dh-exec
2 |
3 | usr/lib/${DEB_HOST_MULTIARCH}/*
4 | usr/bin/*
5 | usr/share/*
6 |
--------------------------------------------------------------------------------
/package-builder/libraries/libvips/debian/rules:
--------------------------------------------------------------------------------
1 | #!/usr/bin/make -f
2 |
3 | %:
4 | dh $@
5 |
6 | # override_dh_auto_configure:
7 | # ./configure
8 |
9 | override_dh_auto_test:
10 |
--------------------------------------------------------------------------------
/package-builder/pkg/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/package-builder/pkg/.gitkeep
--------------------------------------------------------------------------------
/perf-dashboard/deployment-latency/cloudbuild.yaml:
--------------------------------------------------------------------------------
1 | steps:
2 | - name: ${_TEST_RUNNER}
3 | env:
4 | - GCLOUD_TRACK=${_GCLOUD_TRACK}
5 | - GOOGLE_PROJECT_ID=${_GOOGLE_PROJECT_ID}
6 |
--------------------------------------------------------------------------------
/perf-dashboard/deployment-latency/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "google/cloud": "^0.32.1"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/perf-dashboard/deployment-latency/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/perf-dashboard/deployment-latency/tests/bootstrap.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/php-base/stackdriver-files/batch-daemon.conf:
--------------------------------------------------------------------------------
1 | [program:batch-daemon]
2 | command = php -d auto_prepend_file='' -d disable_functions='' /app/vendor/bin/google-cloud-batch daemon
3 | stdout_logfile = /dev/stdout
4 | stdout_logfile_maxbytes=0
5 | stderr_logfile = /dev/stderr
6 | stderr_logfile_maxbytes=0
7 | user = www-data
8 | autostart = true
9 | autorestart = true
10 | priority = 5
11 | stopwaitsecs = 20
12 |
--------------------------------------------------------------------------------
/php-base/tests/bootstrap.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
10 | php-nginx
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/scripts/acceptance.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | export KOKORO_GITHUB_DIR=${KOKORO_ROOT}/src/github
4 | source ${KOKORO_GFILE_DIR}/kokoro/common.sh
5 |
6 | gcloud -q components update beta
7 |
8 | cd ${KOKORO_GITHUB_DIR}/php-docker
9 |
10 | export TAG=`date +%Y-%m-%d-%H-%M`
11 |
12 | cp "${PHP_DOCKER_GOOGLE_CREDENTIALS}" \
13 | ./service_account.json
14 |
15 | # For nightly build
16 | if [ "${GOOGLE_PROJECT_ID}" = "php-mvm-a-28051" ]; then
17 | gcloud config set project php-mvm-a-28051
18 | fi
19 |
20 | scripts/run_acceptance_tests.sh
21 |
--------------------------------------------------------------------------------
/scripts/record-deployment-latency.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | export KOKORO_GITHUB_DIR=${KOKORO_ROOT}/src/github
4 | source ${KOKORO_GFILE_DIR}/kokoro/common.sh
5 |
6 |
7 | cd ${KOKORO_GITHUB_DIR}/php-docker
8 |
9 | gcloud config set project ${GOOGLE_PROJECT_ID}
10 |
11 | scripts/record_deployment_latency.sh
12 |
--------------------------------------------------------------------------------
/scripts/ubuntu-packages.cfg:
--------------------------------------------------------------------------------
1 | env_vars {
2 | key: "GOOGLE_PROJECT_ID"
3 | value: "php-mvm-a-28051"
4 | }
5 |
6 | env_vars {
7 | key: "PHP_VERSIONS"
8 | value: "7.3.31-1,7.4.24-1,8.0.11-1"
9 | }
10 |
11 |
--------------------------------------------------------------------------------
/scripts/ubuntu-packages.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | set -ex
3 | export KOKORO_GITHUB_DIR=${KOKORO_ROOT}/src/github
4 | source ${KOKORO_GFILE_DIR}/kokoro/common.sh
5 |
6 | gcloud -q components update beta
7 |
8 | cd ${KOKORO_GITHUB_DIR}/php-docker/package-builder
9 |
10 | ./build_packages.sh
11 |
--------------------------------------------------------------------------------
/testapps/build_pipeline/.gitignore:
--------------------------------------------------------------------------------
1 | cloudbuild.yaml
2 | Dockerfile
3 |
--------------------------------------------------------------------------------
/testapps/build_pipeline/app.yaml:
--------------------------------------------------------------------------------
1 | runtime: php
2 | env: flex
3 |
4 | runtime_config:
5 | document_root: web
6 | whitelist_functions: phpinfo,exec
7 |
8 | liveness_check:
9 | path: "/liveness_check"
10 | check_interval_sec: 30
11 | timeout_sec: 4
12 | failure_threshold: 2
13 | success_threshold: 2
14 |
--------------------------------------------------------------------------------
/testapps/build_pipeline/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "7.3.*",
4 | "ext-grpc": "*",
5 | "ext-mailparse": "*",
6 | "ext-mbstring": "*",
7 | "ext-opencensus": "*",
8 | "ext-pdo_sqlite": "*",
9 | "google/cloud": "*",
10 | "grpc/grpc": "*",
11 | "silex/silex": "^1.3"
12 | },
13 | "scripts": {
14 | "post-install-cmd": [
15 | "php logging-client.php"
16 | ]
17 | },
18 | "autoload": {
19 | "classmap": ["web"]
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/testapps/build_pipeline/tests/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require-dev": {
3 | "google/cloud-tools": "^0.12",
4 | "guzzlehttp/guzzle": "~6.0",
5 | "symfony/browser-kit": "~5"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/testapps/build_pipeline/tests/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/build_pipeline/web/grpc_pubsub.php:
--------------------------------------------------------------------------------
1 | 'grpc']);
8 |
9 | foreach ($client->topics() as $topic) {
10 | echo $topic->name() . '
';
11 | }
12 |
--------------------------------------------------------------------------------
/testapps/build_pipeline/web/version.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/build_pipeline_std/web/grpc_pubsub.php:
--------------------------------------------------------------------------------
1 | 'grpc']);
8 |
9 | foreach ($client->topics() as $topic) {
10 | echo $topic->name() . '
';
11 | }
12 |
--------------------------------------------------------------------------------
/testapps/build_pipeline_std/web/version.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/integration-individual-packages/README.md:
--------------------------------------------------------------------------------
1 | # Integration Application
2 |
3 | This application can be used for the common Cloud Languages Runtime
4 | Integration Framework. It is primarily used to test Stackdriver
5 | integration with individual packages; `google/cloud-logging` and
6 | `google/cloud-error-reporting`.
7 |
8 | ## Tests
9 |
10 | See [Tests](https://github.com/GoogleCloudPlatform/runtimes-common/blob/master/integration_tests/README.md#tests).
11 |
12 | ## Authentication
13 |
14 | This application uses Application Default Credentials to authenticate.
15 |
--------------------------------------------------------------------------------
/testapps/integration-individual-packages/app.yaml:
--------------------------------------------------------------------------------
1 | runtime: php
2 | env: flex
3 |
4 | runtime_config:
5 | document_root: web
6 | enable_stackdriver_integration: true
7 |
8 | liveness_check:
9 | path: "/liveness_check"
10 | check_interval_sec: 30
11 | timeout_sec: 4
12 | failure_threshold: 2
13 | success_threshold: 2
14 |
--------------------------------------------------------------------------------
/testapps/integration-individual-packages/cloudbuild.yaml.in:
--------------------------------------------------------------------------------
1 | steps:
2 | - name: gcr.io/cloud-builders/docker
3 | args: ['build', '-t', '${IMAGE}', '.']
4 | - name: gcr.io/gcp-runtimes/container-structure-test
5 | args: ['-i', '${IMAGE}', '--config', 'php_default.yaml', '-v']
6 | - name: gcr.io/gcp-runtimes/integration_test
7 | args: ['-i', '${IMAGE}', '--no-monitoring', '--no-exception']
8 |
--------------------------------------------------------------------------------
/testapps/integration-individual-packages/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "autoload": {
3 | "psr-4": {
4 | "Google\\Cloud\\Integration\\": ["src", "test/lib"]
5 | }
6 | },
7 | "require": {
8 | "php": "7.2.*",
9 | "ext-grpc": "*",
10 | "ext-protobuf": "*",
11 | "silex/silex": "^1.3",
12 | "google/cloud-logging": "^1.11",
13 | "google/cloud-error-reporting": "^0.10"
14 | },
15 | "require-dev": {
16 | "behat/mink": "^1.7",
17 | "behat/mink-goutte-driver": "^1.2",
18 | "phpunit/phpunit": "^9",
19 | "symfony/browser-kit": "^5.0",
20 | "symfony/http-kernel": "^5.0",
21 | "google/cloud-tools": "^0.12"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/testapps/integration-individual-packages/runtimes.yaml:
--------------------------------------------------------------------------------
1 | schema_version: 1
2 |
3 | runtimes:
4 | php:
5 | target:
6 | file: test.yaml
7 |
--------------------------------------------------------------------------------
/testapps/integration-individual-packages/test.yaml.in:
--------------------------------------------------------------------------------
1 | steps:
2 | - name: '${STAGING_BUILDER_IMAGE}'
3 | args: ['--php80-image', 'gcr.io/google-appengine/php80:staging', '--php74-image', 'gcr.io/google-appengine/php74:staging', '--php73-image', 'gcr.io/google-appengine/php73:staging']
4 | - name: 'gcr.io/cloud-builders/docker:latest'
5 | args: ['build', '-t', '$_OUTPUT_IMAGE', '.']
6 | images:
7 | - '$_OUTPUT_IMAGE'
8 |
--------------------------------------------------------------------------------
/testapps/integration/.gitignore:
--------------------------------------------------------------------------------
1 | Dockerfile
2 |
--------------------------------------------------------------------------------
/testapps/integration/README.md:
--------------------------------------------------------------------------------
1 | # Integration Application
2 |
3 | This application can be used for the common Cloud Languages Runtime Integration Framework.
4 | It is primarily used to test Stackdriver integration.
5 |
6 | ## Tests
7 |
8 | See [Tests](https://github.com/GoogleCloudPlatform/runtimes-common/blob/master/integration_tests/README.md#tests).
9 |
10 | ## Authentication
11 |
12 | This application uses Application Default Credentials to authenticate.
13 |
--------------------------------------------------------------------------------
/testapps/integration/app.yaml:
--------------------------------------------------------------------------------
1 | runtime: php
2 | env: flex
3 |
4 | runtime_config:
5 | document_root: web
6 | enable_stackdriver_integration: true
7 |
8 | liveness_check:
9 | path: "/liveness_check"
10 | check_interval_sec: 30
11 | timeout_sec: 4
12 | failure_threshold: 2
13 | success_threshold: 2
14 |
--------------------------------------------------------------------------------
/testapps/integration/cloudbuild.yaml.in:
--------------------------------------------------------------------------------
1 | steps:
2 | - name: gcr.io/cloud-builders/docker
3 | args: ['build', '-t', '${IMAGE}', '.']
4 | - name: gcr.io/gcp-runtimes/container-structure-test
5 | args: ['-i', '${IMAGE}', '--config', 'php_default.yaml', '-v']
6 | - name: gcr.io/gcp-runtimes/integration_test
7 | args: ['-i', '${IMAGE}', '--no-monitoring', '--no-exception']
8 |
--------------------------------------------------------------------------------
/testapps/integration/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "autoload": {
3 | "psr-4": {
4 | "Google\\Cloud\\Integration\\": ["src", "test/lib"]
5 | }
6 | },
7 | "require": {
8 | "php": "7.2.*",
9 | "silex/silex": "^1.3",
10 | "google/cloud": "^0.45"
11 | },
12 | "require-dev": {
13 | "behat/mink": "^1.7",
14 | "behat/mink-goutte-driver": "^1.2",
15 | "phpunit/phpunit": "^9",
16 | "symfony/browser-kit": "^5.0",
17 | "symfony/http-kernel": "^5.0",
18 | "google/cloud-tools": "^0.12"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/testapps/integration/runtimes.yaml:
--------------------------------------------------------------------------------
1 | schema_version: 1
2 |
3 | runtimes:
4 | php:
5 | target:
6 | file: test.yaml
7 |
--------------------------------------------------------------------------------
/testapps/integration/test.yaml.in:
--------------------------------------------------------------------------------
1 | steps:
2 | - name: '${STAGING_BUILDER_IMAGE}'
3 | args: ['--php74-image', 'gcr.io/google-appengine/php74:staging', '--php73-image', 'gcr.io/google-appengine/php73:staging']
4 | - name: 'gcr.io/cloud-builders/docker:latest'
5 | args: ['build', '-t', '$_OUTPUT_IMAGE', '.']
6 | images:
7 | - '$_OUTPUT_IMAGE'
8 |
--------------------------------------------------------------------------------
/testapps/php71_custom/.gitignore:
--------------------------------------------------------------------------------
1 | cloudbuild.yaml
2 | Dockerfile
3 |
--------------------------------------------------------------------------------
/testapps/php71_custom/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "7.1.*",
4 | "ext-bcmath": "*",
5 | "ext-calendar": "*",
6 | "ext-exif": "*",
7 | "ext-ftp": "*",
8 | "ext-gd": "*",
9 | "ext-gettext": "*",
10 | "ext-intl": "*",
11 | "ext-shmop": "*",
12 | "ext-soap": "*",
13 | "ext-sqlite3": "*",
14 | "ext-pdo_sqlite": "*",
15 | "ext-xmlrpc": "*",
16 | "ext-xsl": "*",
17 | "ext-mongodb": "*",
18 | "ext-redis": "*",
19 | "ext-imagick": "*",
20 | "silex/silex": "^1.3"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/testapps/php71_custom/php71.yaml:
--------------------------------------------------------------------------------
1 | schemaVersion: "1.0.0"
2 | commandTests:
3 | - name: "version"
4 | command: ["/opt/php/bin/php", "-v"]
5 | expectedOutput: ["PHP 7\\.1.*"]
6 |
--------------------------------------------------------------------------------
/testapps/php71_custom/tests/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require-dev": {
3 | "guzzlehttp/guzzle": "~6.0",
4 | "symfony/browser-kit": "~2"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/testapps/php71_custom/tests/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php71_custom/web/Blank300.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/testapps/php71_custom/web/Blank300.png
--------------------------------------------------------------------------------
/testapps/php71_extensions/.gitignore:
--------------------------------------------------------------------------------
1 | Dockerfile
2 |
--------------------------------------------------------------------------------
/testapps/php71_extensions/Dockerfile.in:
--------------------------------------------------------------------------------
1 | # Copyright 2017 Google Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | FROM ${BASE_IMAGE}
16 |
--------------------------------------------------------------------------------
/testapps/php71_extensions/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php71_extensions/tests/Blank300.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/testapps/php71_extensions/tests/Blank300.png
--------------------------------------------------------------------------------
/testapps/php72_custom/.gitignore:
--------------------------------------------------------------------------------
1 | cloudbuild.yaml
2 | Dockerfile
3 |
--------------------------------------------------------------------------------
/testapps/php72_custom/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "7.2.*",
4 | "ext-bcmath": "*",
5 | "ext-calendar": "*",
6 | "ext-exif": "*",
7 | "ext-ftp": "*",
8 | "ext-gd": "*",
9 | "ext-gettext": "*",
10 | "ext-intl": "*",
11 | "ext-shmop": "*",
12 | "ext-soap": "*",
13 | "ext-sqlite3": "*",
14 | "ext-pdo_sqlite": "*",
15 | "ext-xmlrpc": "*",
16 | "ext-xsl": "*",
17 | "ext-mongodb": "*",
18 | "ext-redis": "*",
19 | "ext-imagick": "*",
20 | "silex/silex": "^1.3"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/testapps/php72_custom/php72.yaml:
--------------------------------------------------------------------------------
1 | schemaVersion: "1.0.0"
2 | commandTests:
3 | - name: "version"
4 | command: ["/opt/php/bin/php", "-v"]
5 | expectedOutput: ["PHP 7\\.2.*"]
6 |
--------------------------------------------------------------------------------
/testapps/php72_custom/tests/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require-dev": {
3 | "guzzlehttp/guzzle": "~6.0",
4 | "symfony/browser-kit": "~2"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/testapps/php72_custom/tests/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php72_custom/web/Blank300.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/testapps/php72_custom/web/Blank300.png
--------------------------------------------------------------------------------
/testapps/php72_e2e/.gitignore:
--------------------------------------------------------------------------------
1 | cloudbuild.yaml
2 | Dockerfile
3 |
--------------------------------------------------------------------------------
/testapps/php72_e2e/app.yaml:
--------------------------------------------------------------------------------
1 | runtime: custom
2 | env: flex
3 |
4 | runtime_config:
5 | document_root: web
6 |
7 | env_variables:
8 | WHITELIST_FUNCTIONS: phpinfo,exec
9 |
10 | liveness_check:
11 | path: "/liveness_check"
12 | check_interval_sec: 30
13 | timeout_sec: 4
14 | failure_threshold: 2
15 | success_threshold: 2
16 |
--------------------------------------------------------------------------------
/testapps/php72_e2e/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "7.2.*",
4 | "ext-grpc": "*",
5 | "ext-pdo_sqlite": "*",
6 | "google/cloud": "*",
7 | "grpc/grpc": "*",
8 | "silex/silex": "^1.3"
9 | },
10 | "autoload": {
11 | "classmap": ["web"]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/testapps/php72_e2e/tests/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require-dev": {
3 | "google/cloud-tools": "~0.6",
4 | "guzzlehttp/guzzle": "~6.0",
5 | "symfony/browser-kit": "~2"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/testapps/php72_e2e/tests/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php72_e2e/web/grpc_pubsub.php:
--------------------------------------------------------------------------------
1 | 'grpc']);
8 |
9 | foreach ($client->topics() as $topic) {
10 | echo $topic->name() . '
';
11 | }
12 |
--------------------------------------------------------------------------------
/testapps/php72_e2e/web/phpinfo.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php72_extensions/tests/Blank300.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/testapps/php72_extensions/tests/Blank300.png
--------------------------------------------------------------------------------
/testapps/php72_extensions_legacy/.gitignore:
--------------------------------------------------------------------------------
1 | Dockerfile
2 |
--------------------------------------------------------------------------------
/testapps/php72_extensions_legacy/Dockerfile.in:
--------------------------------------------------------------------------------
1 | # Copyright 2017 Google Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | FROM ${BASE_IMAGE}
16 |
--------------------------------------------------------------------------------
/testapps/php72_extensions_legacy/php.ini:
--------------------------------------------------------------------------------
1 | extension=cassandra.so
2 | extension=ev.so
3 | extension=event.so
4 | extension=grpc.so
5 | extension=imagick.so
6 | extension=mongodb.so
7 | extension=oauth.so
8 | extension=opencensus.so
9 | extension=pq.so
10 | extension=protobuf.so
11 | extension=rdkafka.so
12 | extension=redis.so
13 | extension=stackdriver_debugger.so
--------------------------------------------------------------------------------
/testapps/php72_extensions_legacy/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php72_extensions_legacy/tests/Blank300.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/testapps/php72_extensions_legacy/tests/Blank300.png
--------------------------------------------------------------------------------
/testapps/php73_custom/.gitignore:
--------------------------------------------------------------------------------
1 | cloudbuild.yaml
2 | Dockerfile
3 |
--------------------------------------------------------------------------------
/testapps/php73_custom/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "7.3.*",
4 | "ext-bcmath": "*",
5 | "ext-calendar": "*",
6 | "ext-exif": "*",
7 | "ext-ftp": "*",
8 | "ext-gettext": "*",
9 | "ext-intl": "*",
10 | "ext-shmop": "*",
11 | "ext-soap": "*",
12 | "ext-sqlite3": "*",
13 | "ext-pdo_sqlite": "*",
14 | "ext-xmlrpc": "*",
15 | "ext-xsl": "*",
16 | "ext-mongodb": "*",
17 | "ext-redis": "*",
18 | "ext-imagick": "*",
19 | "silex/silex": "^1.3"
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/testapps/php73_custom/php73.yaml:
--------------------------------------------------------------------------------
1 | schemaVersion: "2.0.0"
2 | commandTests:
3 | - name: "version"
4 | command: "/opt/php/bin/php"
5 | args: ["-v"]
6 | expectedOutput: ["PHP 7\\.3.*"]
7 |
--------------------------------------------------------------------------------
/testapps/php73_custom/tests/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require-dev": {
3 | "guzzlehttp/guzzle": "~6.0",
4 | "symfony/browser-kit": "~2"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/testapps/php73_custom/tests/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php73_custom/web/Blank300.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/testapps/php73_custom/web/Blank300.png
--------------------------------------------------------------------------------
/testapps/php73_e2e/.gitignore:
--------------------------------------------------------------------------------
1 | cloudbuild.yaml
2 | Dockerfile
3 |
--------------------------------------------------------------------------------
/testapps/php73_e2e/app.yaml:
--------------------------------------------------------------------------------
1 | runtime: custom
2 | env: flex
3 |
4 | runtime_config:
5 | document_root: web
6 |
7 | env_variables:
8 | WHITELIST_FUNCTIONS: phpinfo,exec
9 |
10 | liveness_check:
11 | path: "/liveness_check"
12 | check_interval_sec: 30
13 | timeout_sec: 4
14 | failure_threshold: 2
15 | success_threshold: 2
16 |
--------------------------------------------------------------------------------
/testapps/php73_e2e/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "7.3.*",
4 | "ext-grpc": "*",
5 | "ext-pdo_sqlite": "*",
6 | "google/cloud": "*",
7 | "grpc/grpc": "*",
8 | "silex/silex": "^1.3"
9 | },
10 | "autoload": {
11 | "classmap": ["web"]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/testapps/php73_e2e/tests/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require-dev": {
3 | "google/cloud-tools": "^0.12",
4 | "guzzlehttp/guzzle": "~6.0",
5 | "symfony/browser-kit": "~5"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/testapps/php73_e2e/tests/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php73_e2e/web/grpc_pubsub.php:
--------------------------------------------------------------------------------
1 | 'grpc']);
8 |
9 | foreach ($client->topics() as $topic) {
10 | echo $topic->name() . '
';
11 | }
12 |
--------------------------------------------------------------------------------
/testapps/php73_extensions/.gitignore:
--------------------------------------------------------------------------------
1 | Dockerfile
2 |
--------------------------------------------------------------------------------
/testapps/php73_extensions/Dockerfile.in:
--------------------------------------------------------------------------------
1 | # Copyright 2017 Google Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | FROM ${BASE_IMAGE}
16 |
--------------------------------------------------------------------------------
/testapps/php73_extensions/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php73_extensions/tests/Blank300.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/testapps/php73_extensions/tests/Blank300.png
--------------------------------------------------------------------------------
/testapps/php73_extensions_legacy/.gitignore:
--------------------------------------------------------------------------------
1 | Dockerfile
2 |
--------------------------------------------------------------------------------
/testapps/php73_extensions_legacy/Dockerfile.in:
--------------------------------------------------------------------------------
1 | # Copyright 2017 Google Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | FROM ${BASE_IMAGE}
16 |
--------------------------------------------------------------------------------
/testapps/php73_extensions_legacy/php.ini:
--------------------------------------------------------------------------------
1 | extension=cassandra.so
2 | extension=ev.so
3 | extension=event.so
4 | extension=grpc.so
5 | extension=imagick.so
6 | extension=mongodb.so
7 | extension=oauth.so
8 | extension=opencensus.so
9 | extension=raphf.so
10 | extension=pq.so
11 | extension=protobuf.so
12 | extension=rdkafka.so
13 | extension=redis.so
14 | extension=stackdriver_debugger.so
--------------------------------------------------------------------------------
/testapps/php73_extensions_legacy/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php73_extensions_legacy/tests/Blank300.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/testapps/php73_extensions_legacy/tests/Blank300.png
--------------------------------------------------------------------------------
/testapps/php74_custom/.gitignore:
--------------------------------------------------------------------------------
1 | cloudbuild.yaml
2 | Dockerfile
3 |
--------------------------------------------------------------------------------
/testapps/php74_custom/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "7.4.*",
4 | "ext-bcmath": "*",
5 | "ext-calendar": "*",
6 | "ext-exif": "*",
7 | "ext-ftp": "*",
8 | "ext-gd": "*",
9 | "ext-gettext": "*",
10 | "ext-intl": "*",
11 | "ext-shmop": "*",
12 | "ext-soap": "*",
13 | "ext-sqlite3": "*",
14 | "ext-pdo_sqlite": "*",
15 | "ext-xmlrpc": "*",
16 | "ext-xsl": "*",
17 | "ext-mongodb": "*",
18 | "ext-redis": "*",
19 | "ext-imagick": "*",
20 | "silex/silex": "^1.3"
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/testapps/php74_custom/php74.yaml:
--------------------------------------------------------------------------------
1 | schemaVersion: "2.0.0"
2 | commandTests:
3 | - name: "version"
4 | command: "/opt/php/bin/php"
5 | args: ["-v"]
6 | expectedOutput: ["PHP 7\\.4.*"]
7 |
--------------------------------------------------------------------------------
/testapps/php74_custom/tests/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require-dev": {
3 | "guzzlehttp/guzzle": "~6.0",
4 | "symfony/browser-kit": "~2"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/testapps/php74_custom/tests/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php74_custom/web/Blank300.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/testapps/php74_custom/web/Blank300.png
--------------------------------------------------------------------------------
/testapps/php74_e2e/.gitignore:
--------------------------------------------------------------------------------
1 | cloudbuild.yaml
2 | Dockerfile
3 |
--------------------------------------------------------------------------------
/testapps/php74_e2e/app.yaml:
--------------------------------------------------------------------------------
1 | runtime: custom
2 | env: flex
3 |
4 | runtime_config:
5 | document_root: web
6 |
7 | env_variables:
8 | WHITELIST_FUNCTIONS: phpinfo,exec
9 |
10 | liveness_check:
11 | path: "/liveness_check"
12 | check_interval_sec: 30
13 | timeout_sec: 4
14 | failure_threshold: 2
15 | success_threshold: 2
16 |
--------------------------------------------------------------------------------
/testapps/php74_e2e/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "7.4.*",
4 | "ext-grpc": "*",
5 | "ext-pdo_sqlite": "*",
6 | "google/cloud": "*",
7 | "grpc/grpc": "*",
8 | "silex/silex": "^1.3"
9 | },
10 | "autoload": {
11 | "classmap": ["web"]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/testapps/php74_e2e/tests/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require-dev": {
3 | "google/cloud-tools": "^0.12",
4 | "guzzlehttp/guzzle": "~6.0",
5 | "symfony/browser-kit": "~5"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/testapps/php74_e2e/tests/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php74_e2e/web/grpc_pubsub.php:
--------------------------------------------------------------------------------
1 | 'grpc']);
8 |
9 | foreach ($client->topics() as $topic) {
10 | echo $topic->name() . '
';
11 | }
12 |
--------------------------------------------------------------------------------
/testapps/php74_extensions/.gitignore:
--------------------------------------------------------------------------------
1 | Dockerfile
2 |
--------------------------------------------------------------------------------
/testapps/php74_extensions/Dockerfile.in:
--------------------------------------------------------------------------------
1 | # Copyright 2017 Google Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | FROM ${BASE_IMAGE}
16 |
--------------------------------------------------------------------------------
/testapps/php74_extensions/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php74_extensions/tests/Blank300.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/testapps/php74_extensions/tests/Blank300.png
--------------------------------------------------------------------------------
/testapps/php74_extensions_legacy/.gitignore:
--------------------------------------------------------------------------------
1 | Dockerfile
2 |
--------------------------------------------------------------------------------
/testapps/php74_extensions_legacy/Dockerfile.in:
--------------------------------------------------------------------------------
1 | # Copyright 2017 Google Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | FROM ${BASE_IMAGE}
16 |
--------------------------------------------------------------------------------
/testapps/php74_extensions_legacy/php.ini:
--------------------------------------------------------------------------------
1 | extension=cassandra.so
2 | extension=ev.so
3 | extension=event.so
4 | extension=grpc.so
5 | extension=imagick.so
6 | extension=mongodb.so
7 | extension=oauth.so
8 | extension=opencensus.so
9 | extension=raphf.so
10 | extension=pq.so
11 | extension=protobuf.so
12 | extension=rdkafka.so
13 | extension=redis.so
14 | extension=stackdriver_debugger.so
--------------------------------------------------------------------------------
/testapps/php74_extensions_legacy/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php74_extensions_legacy/tests/Blank300.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/testapps/php74_extensions_legacy/tests/Blank300.png
--------------------------------------------------------------------------------
/testapps/php80_custom/.gitignore:
--------------------------------------------------------------------------------
1 | cloudbuild.yaml
2 | Dockerfile
3 |
--------------------------------------------------------------------------------
/testapps/php80_custom/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "8.0.*",
4 | "ext-apcu": "*",
5 | "ext-bcmath": "*",
6 | "ext-calendar": "*",
7 | "ext-exif": "*",
8 | "ext-ftp": "*",
9 | "ext-gd": "*",
10 | "ext-gettext": "*",
11 | "ext-intl": "*",
12 | "ext-shmop": "*",
13 | "ext-soap": "*",
14 | "ext-sqlite3": "*",
15 | "ext-pdo_sqlite": "*",
16 | "ext-xmlrpc": "*",
17 | "ext-xsl": "*",
18 | "ext-mongodb": "*",
19 | "ext-redis": "*",
20 | "ext-imagick": "*",
21 | "silex/silex": "^1.3"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/testapps/php80_custom/php80.yaml:
--------------------------------------------------------------------------------
1 | schemaVersion: "2.0.0"
2 | commandTests:
3 | - name: "version"
4 | command: "/opt/php/bin/php"
5 | args: ["-v"]
6 | expectedOutput: ["PHP 8\\.0.*"]
7 | # licenseTests:
8 | # - debian: true
9 | # files: []
--------------------------------------------------------------------------------
/testapps/php80_custom/tests/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require-dev": {
3 | "guzzlehttp/guzzle": "~6.0",
4 | "symfony/browser-kit": "~5"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/testapps/php80_custom/tests/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php80_custom/web/Blank300.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/testapps/php80_custom/web/Blank300.png
--------------------------------------------------------------------------------
/testapps/php80_e2e/.gitignore:
--------------------------------------------------------------------------------
1 | cloudbuild.yaml
2 | Dockerfile
3 |
--------------------------------------------------------------------------------
/testapps/php80_e2e/app.yaml:
--------------------------------------------------------------------------------
1 | runtime: custom
2 | env: flex
3 |
4 | runtime_config:
5 | document_root: web
6 |
7 | env_variables:
8 | WHITELIST_FUNCTIONS: phpinfo,exec
9 |
10 | liveness_check:
11 | path: "/liveness_check"
12 | check_interval_sec: 30
13 | timeout_sec: 4
14 | failure_threshold: 2
15 | success_threshold: 2
16 |
--------------------------------------------------------------------------------
/testapps/php80_e2e/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require": {
3 | "php": "8.0.*",
4 | "ext-grpc": "*",
5 | "ext-pdo_sqlite": "*",
6 | "google/cloud": "*",
7 | "grpc/grpc": "*",
8 | "silex/silex": "^1.3"
9 | },
10 | "autoload": {
11 | "classmap": ["web"]
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/testapps/php80_e2e/tests/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "require-dev": {
3 | "google/cloud-tools": "^0.12",
4 | "guzzlehttp/guzzle": "~6.0",
5 | "symfony/browser-kit": "~5"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/testapps/php80_e2e/tests/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php80_e2e/web/grpc_pubsub.php:
--------------------------------------------------------------------------------
1 | 'grpc']);
8 |
9 | foreach ($client->topics() as $topic) {
10 | echo $topic->name() . '
';
11 | }
12 |
--------------------------------------------------------------------------------
/testapps/php80_extensions/.gitignore:
--------------------------------------------------------------------------------
1 | Dockerfile
2 |
--------------------------------------------------------------------------------
/testapps/php80_extensions/Dockerfile.in:
--------------------------------------------------------------------------------
1 | # Copyright 2017 Google Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | FROM ${BASE_IMAGE}
16 |
--------------------------------------------------------------------------------
/testapps/php80_extensions/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php80_extensions/tests/Blank300.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/testapps/php80_extensions/tests/Blank300.png
--------------------------------------------------------------------------------
/testapps/php80_extensions_legacy/.gitignore:
--------------------------------------------------------------------------------
1 | Dockerfile
2 |
--------------------------------------------------------------------------------
/testapps/php80_extensions_legacy/Dockerfile.in:
--------------------------------------------------------------------------------
1 | # Copyright 2017 Google Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | FROM ${BASE_IMAGE}
16 |
--------------------------------------------------------------------------------
/testapps/php80_extensions_legacy/php.ini:
--------------------------------------------------------------------------------
1 | ; extension=cassandra.so
2 | extension=ev.so
3 | extension=event.so
4 | extension=grpc.so
5 | extension=imagick.so
6 | extension=mongodb.so
7 | extension=oauth.so
8 | extension=opencensus.so
9 | extension=raphf.so
10 | extension=pq.so
11 | extension=protobuf.so
12 | extension=rdkafka.so
13 | extension=redis.so
14 | ; extension=stackdriver_debugger.so
--------------------------------------------------------------------------------
/testapps/php80_extensions_legacy/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | tests
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/testapps/php80_extensions_legacy/tests/Blank300.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/GoogleCloudPlatform/php-docker/0ca51d432d2e3bf0621c4887fabeab267db5fbc9/testapps/php80_extensions_legacy/tests/Blank300.png
--------------------------------------------------------------------------------
/testapps/php_default/.gitignore:
--------------------------------------------------------------------------------
1 | cloudbuild.yaml
2 | Dockerfile
3 |
--------------------------------------------------------------------------------
/testapps/php_default/Dockerfile.in:
--------------------------------------------------------------------------------
1 | # Copyright 2015 Google Inc.
2 | #
3 | # Licensed under the Apache License, Version 2.0 (the "License");
4 | # you may not use this file except in compliance with the License.
5 | # You may obtain a copy of the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS,
11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | # See the License for the specific language governing permissions and
13 | # limitations under the License.
14 |
15 | FROM ${BASE_IMAGE}
16 |
--------------------------------------------------------------------------------
/testapps/php_default/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | }
3 |
--------------------------------------------------------------------------------
/testapps/php_default/php_default.yaml:
--------------------------------------------------------------------------------
1 | schemaVersion: "2.0.0"
2 | commandTests:
3 | - name: "version"
4 | command: "/opt/php/bin/php"
5 | args: ["-v"]
6 | expectedOutput: ["PHP 8\\.0.*"]
7 | - name: "path"
8 | command: "printenv"
9 | args: ["PATH"]
10 | expectedOutput: [".*\\/opt\\/php\\/bin.*"]
11 |
--------------------------------------------------------------------------------