Note: as of GoogleCloudPlatform/cloud-builders#837, GCB's docker build step includes docker-compose.
This build step invokes docker-compose commands in Google Cloud Build.
Arguments passed to this builder will be passed to docker-compose directly,
allowing callers to run any docker-compose
command.
To make this cloud builder available in your active Google Cloud project:
cd cloud-builders-community/docker-compose
gcloud builds submitTo override the version of docker-compose being built, set the _DOCKER_COMPOSE_VERSION substitution:
cd cloud-builders-community/docker-compose
gcloud builds submit --substitutions=_DOCKER_COMPOSE_VERSION="1.24.0"You can find a list of releases and their version numbers here.
See provided hello-world example.