Skip to content

Fix Balena build issues#2602

Merged
denniskuijs merged 8 commits into
masterfrom
fix-balena-build-issues
Mar 20, 2026
Merged

Fix Balena build issues#2602
denniskuijs merged 8 commits into
masterfrom
fix-balena-build-issues

Conversation

@wborn
Copy link
Copy Markdown
Member

@wborn wborn commented Mar 10, 2026

  • Add back the Docker Compose version to prevent build errors
  • Fix --dry-run switch no longer works on recent Docker Compose versions

The version got removed in #1484

* Add back the Docker Compose version to prevent build errors
* Fix --dry-run switch no longer works on recent Docker Compose versions
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses Balena build/run workflow breakages by restoring a Docker Compose schema version required by Balena CLI and updating the dry-run path to use the modern docker compose command.

Changes:

  • Add version: '2.4' to the Balena-specific Compose file to satisfy Balena CLI requirements.
  • Replace legacy docker-compose usage with docker compose in the dry-run execution path.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
balena/run_balena_build.sh Updates dry-run path to use docker compose for build and up.
balena/docker-compose.yml Restores Compose version header needed by Balena CLI.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread balena/run_balena_build.sh Outdated
Comment thread balena/run_balena_build.sh Outdated
Comment thread balena/run_balena_build.sh Outdated
@wborn wborn requested a review from denniskuijs March 20, 2026 15:55
@denniskuijs denniskuijs merged commit 9cc052b into master Mar 20, 2026
1 check passed
@denniskuijs denniskuijs deleted the fix-balena-build-issues branch March 20, 2026 16:51
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.

5 participants