Skip to content

Conversation

ppawlowski
Copy link
Contributor

Description

This pull request disables dependency to C libraries by setting the CGO_ENABLED environmental variable to 0.
In result, binaries will run on target systems without requiring specific libc versions (statically linked).

Related Issue(s)

fixes: #417

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production
  • Link to Changelog Entry PR, or note why one is not needed.

Labels

  • Includes a DB migration? -> add the area:migration label

Copy link
Contributor

@hardillb hardillb left a comment

Choose a reason for hiding this comment

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

Tested on 20.04 and appears to work

@ppawlowski ppawlowski merged commit b4c203c into main Sep 29, 2025
11 checks passed
@ppawlowski ppawlowski deleted the ci-build-static-binary branch September 29, 2025 18:27
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.

Installer: failed on Ubuntu 20.04 LTS

2 participants