Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.33 KB

File metadata and controls

44 lines (30 loc) · 1.33 KB

php-test

The docker images for running PHP Kokoro builds for Cloud repositories.

Docker Registry

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/php80

An 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/php

When using the image, switching between versions of PHP is done using PHPBrew:

# Switch to PHP 8.0
phpbrew switch $(phpbrew list | grep 8.0)

Questions

Please reach out to php-cloud@google.com with any questions!

Building Images

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 .