This repository has been archived by the owner on Oct 19, 2023. It is now read-only.
Releases: GoogleCloudPlatform/php-docker
Releases · GoogleCloudPlatform/php-docker
Google Cloud Platform Docker image for PHP 2017-11-27-13-38
Changes:
- Added SKIP_LOCKDOWN_DOCUMENT_ROOT env var
#390 - PHP 7.1.12, 7.0.26, and 7.2.0RC6
- ext-grpc 1.7.0
- ext-mongodb 1.3.3
- ext-protobuf 3.5.0
- ext-rdkafka 3.0.5
- ext-swoole 1.9.23
- ext-v8js 2.0.0
- ext-vips 1.0.8
- libcouchbase2-core 2.8.3
Google Cloud Platform Docker image for PHP 2017-11-02-10-38
- swoole 1.9.22
- shell injection fix (#384)
Google Cloud Platform Docker image for PHP 2017-10-31-11-56
Google Cloud Platform Docker image for PHP 2017-10-30-12-25
- PHP 7.0.25, 7.1.11, and 7.2.0RC5
- Note: don't use 7.2.0RC5 for production
Google Cloud Platform Docker image for PHP 2017-10-25-14-40
- curl security update (7.38.0-4+deb8u6)
- extensions
- amqp 1.9.3
- mongodb 1.3.1
- opencensus 0.0.4
- couchbase 2.4.1
- libsodium 2.0.9
Google Cloud Platform Docker image for PHP 2017-09-29-15-11
- PHP 7.1.10 and PHP 7.0.24
Google Cloud Platform Docker image for PHP 2017-09-26-10-23
- Allowing access to Compute Metadata server during the build
#375
Google Cloud Platform Docker image for PHP 2017-09-22-10-36
- Enabled OPcache by default
Google Cloud Platform Docker image for PHP 2017-09-20-10-53
- gRPC extension 1.6.0
- Checks the nginx config file syntax after moving user supplied config
#372
Google Cloud Platform Docker image for PHP 2017-09-18-11-13
- Customize-able composer flags (#368)
For gcr.io/google-appengine/php
, you can control the composer flags by setting a build arg COMPOSER_FLAGS
. The default value for gcr.io/google-appengine/php
is --no-scripts --no-dev --prefer-dist
. For example, you can build the app with dev packages with the following command:
$ docker build -t myapp --build-arg COMPOSER_FLAGS='--dev' .
For versioned image like gcr.io/google-appengine/php71
, If you extend from those images, you can add ARG and ENV as follows to get the same effect:
ONBUILD ARG COMPOSER_FLAGS='--no-dev --prefer-dist'
ONBUILD ENV COMPOSER_FLAGS=${COMPOSER_FLAGS}
For the App Engine Flex build pipeline (gcloud app deploy
), the default value is --no-dev --prefer-dist
(note that it doesn't have --no-scripts
). You can set composer_flags
in runtime_config
section for installing dev packages.
runtime_config:
composer_flags: '--dev'