vishwarajanand / php-apache-grpc-protobuf

This repository helps developers create a docker container whereby a PHP code can be run to serve requests over apache server. Official images: https://github.com/googleapis/testing-infra-docker/tree/main/php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php-apache-grpc-protobuf

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.

Usage Instructions

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

Steps to Run Locally

  1. docker build -t vishwaraj00/php-latest-apache-grpc-protobuf .
  2. docker push vishwaraj00/php-latest-apache-grpc-protobuf

Steps to Run on gCloud

Run the following command to execute this cloudbuild:

gcloud builds submit . --config=cloudbuild.yaml

CI/CD

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.

Google Cloud Build Trigger Private Link

Cloud Trigger Settings

About

This repository helps developers create a docker container whereby a PHP code can be run to serve requests over apache server. Official images: https://github.com/googleapis/testing-infra-docker/tree/main/php

License:GNU General Public License v3.0


Languages

Language:Dockerfile 100.0%