Skip to content

Conversation

@maxhuebler
Copy link
Contributor

@maxhuebler maxhuebler commented Dec 2, 2025

@SuperQ

Description

This PR fixes modernizes the build system to use Docker's --platform flag for better cross-compilation support and fixes CI build failures. This originally was included as part of #66.

Changes

  • Build System Fixes:
    • Updated vars.sh and build.sh to use the standard Docker --platform flag (e.g., linux/arm/v7) instead of deprecated architecture-prefixed images (e.g., arm32v7/debian).
    • This resolves no match for platform in manifest errors encountered during cross-compilation.

Motivation

The build system updates were necessary to fix broken cross-compilation on modern Docker environments.

Signed-off-by: Max Huebler <max@huebler.us>
@maxhuebler maxhuebler changed the title Fix broken docker build.sh issues Fix broken docker build.sh and circleci pipeline issues Dec 2, 2025
@maxhuebler
Copy link
Contributor Author

@SuperQ did you want strictly the fix for the failing builds or should I include .circleci/config.yml changes such as updating vm machine ubuntu image?

Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

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

Thanks. It's easier to review this way.

Yes, let's follow up with other improvements.

@SuperQ SuperQ merged commit 2266632 into prometheus:master Dec 2, 2025
2 checks passed
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.

2 participants