Skip to content

[FR] Add docker compose to the official gcr.io/cloud-builders/docker image #835

@akauppi

Description

@akauppi

Detailed Feature Information

Which builder is relevant to this request?

gcr.io/cloud-builders/docker:20.10.13

Is your feature request related to a problem? Please describe.

I'm using Docker Compose in Cloud Build scripts, and currently need to bring in an external image (docker/compose). This image is stuck at 1.29.2 since a year - likely due to Docker moving from docker-compose CLI to docker compose (a plugin to the main docker command).

This plugin is not installed on the Cloud Build image, as of now.

Describe the solution you'd like

Adding apt-get install docker-compose-plugin (instructions here) to the Cloud Build Docker image.

I tried this. It works. I don't know about the size implications to the image though.

Describe alternatives you've considered

I'm currently using the docker/compose image. It works, but being stale I wish to have an upgrade path.

Considering making my own Docker image that is based on gcr.io/cloud-builders/docker. With the hopes that pulling such would be faster in Cloud Build than pulling a completely external image. Have not tried.

Additional context

Thanks for considering.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions