Skip to content

Fix: remove legacy docker-compose v1 from docker builder - #1112

Open
64johnlee wants to merge 2 commits into
GoogleCloudPlatform:masterfrom
64johnlee:fix/docker-compose-versions
Open

Fix: remove legacy docker-compose v1 from docker builder#1112
64johnlee wants to merge 2 commits into
GoogleCloudPlatform:masterfrom
64johnlee:fix/docker-compose-versions

Conversation

@64johnlee

Copy link
Copy Markdown

Summary

The docker builder was installing both docker-compose (v1.29.2, legacy) and docker-compose-plugin (v2.x+, modern), causing version conflicts and unpredictable behavior in builds.

The legacy v1 package is no longer maintained by Docker and should not be used. This change removes docker-compose and keeps only docker-compose-plugin, which is:

  • Actively maintained by Docker
  • Compatible with all supported Docker versions (19.03, 20.10, 24.0)
  • The recommended replacement for v1

Changes

  • Removed docker-compose package from Dockerfile-versioned apt-get install
  • Kept docker-compose-plugin for modern docker compose functionality
  • No impact to cloudbuild.yaml or build pipeline

Verification

🤖 Generated with Claude Code

64johnlee and others added 2 commits June 6, 2026 23:17
The google-cloud-sdk installer requires the python command to be available.
The Dockerfile.appengine was installing python3 but not the python package,
which is needed as a symlink/alias for SDK compatibility.

Fixes GoogleCloudPlatform#1056

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The docker builder was installing both docker-compose (v1.29.2, legacy) and
docker-compose-plugin (v2.x+, modern), causing version conflicts and unpredictable
behavior. The legacy v1 package is no longer maintained and should not be used.

This change removes docker-compose and keeps only docker-compose-plugin,
which is actively maintained by Docker and compatible with all supported
Docker versions (19.03, 20.10, 24.0).

Fixes GoogleCloudPlatform#1042

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@google-cla

google-cla Bot commented Jun 6, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant