Skip to content

[AURON #2373] support Docker Compose in build script#2374

Open
zhaohehuhu wants to merge 1 commit into
apache:masterfrom
zhaohehuhu:dev
Open

[AURON #2373] support Docker Compose in build script#2374
zhaohehuhu wants to merge 1 commit into
apache:masterfrom
zhaohehuhu:dev

Conversation

@zhaohehuhu

@zhaohehuhu zhaohehuhu commented Jul 2, 2026

Copy link
Copy Markdown

Which issue does this PR close?

Closes #2373

Rationale for this change

Docker build mode currently assumes the legacy docker-compose command is available. Newer Docker engine may only provide Docker Compose as the docker compose subcommand, causing auron-build.sh to fail with exec: docker-compose: not found.

What changes are included in this PR?

Update auron-build.sh to support Docker Compose v2 via docker compose, while keeping compatibility with the legacy docker-compose command.

Are there any user-facing changes?

No

How was this patch tested?

Rebuild auron

@github-actions github-actions Bot added the build label Jul 2, 2026

@wForget wForget left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @zhaohehuhu , LGTM.

@yew1eb

yew1eb commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

@zhaohehuhu thanks for contribution. LGTM on the logic. Just one ask before merge: the PR description only says "Rebuild auron".
Could you confirm the three fallback scenarios were each verified — (1) only docker compose v2, (2) only legacy docker-compose, (3) neither installed? A short log for each would be ideal.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Docker Compose in build script

3 participants