The docker images for running PHP Kokoro builds for Cloud repositories.
The images for individual versions of PHP are available at gcr.io/cloud-devrel-kokoro-resources/php##.
You can try them out by running:
$ docker run --rm -it gcr.io/cloud-devrel-kokoro-resources/php72
$ docker run --rm -it gcr.io/cloud-devrel-kokoro-resources/php73
$ docker run --rm -it gcr.io/cloud-devrel-kokoro-resources/php74
$ docker run --rm -it gcr.io/cloud-devrel-kokoro-resources/php80An image containing all supported versions of PHP is available
at gcr.io/cloud-devrel-kokoro-resources/php. You can try it out by running"
$ docker run --rm -it gcr.io/cloud-devrel-kokoro-resources/phpWhen using the image, switching between versions of PHP is done using PHPBrew:
# Switch to PHP 8.0
phpbrew switch $(phpbrew list | grep 8.0)Please reach out to php-cloud@google.com with any questions!
You can build all of the test images by running:
gcloud builds submit --config=cloudbuild.yaml .
You can publish the images by running:
gcloud builds submit --project=cloud-devrel-kokoro-resources --config=cloudbuild.yaml .