Skip to content

Latest commit

 

History

History
 
 

docker-compose

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Docker-compose

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.

Setup

To make this cloud builder available in your active Google Cloud project:

cd cloud-builders-community/docker-compose
gcloud builds submit

To 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.

Examples

See provided hello-world example.