This repository helps developers create a docker container whereby a PHP code can be run to serve requests over apache server. Much of the configuration is sourced from Google Doc: Deploy a PHP app in a container image.
The built image is available publicly in dockerhub.io.
And can be consumed in other Dockerfile
as follows:
FROM vishwaraj00/php-latest-apache-grpc-protobuf as build
docker build -t vishwaraj00/php-latest-apache-grpc-protobuf .
docker push vishwaraj00/php-latest-apache-grpc-protobuf
Run the following command to execute this cloudbuild:
gcloud builds submit . --config=cloudbuild.yaml
A Google Cloud Build is triggered on main
branch of this repo, which automatically builds a docker image from Dockerfile
and pushes to dockerhub for immediate public use typically in about ~30 mins.