Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CGO-less TBot Build #52505

Merged
merged 2 commits into from
Feb 27, 2025
Merged

Fix CGO-less TBot Build #52505

merged 2 commits into from
Feb 27, 2025

Conversation

strideynet
Copy link
Contributor

Closes #52101

Regression was introduced by #43877 - which switched from explicitly setting CGO_ENABLED=0, to leaving it unset. The Go compiler then used its discretion to decide to perform a CGO build, which, has caused issues for the Spacelift image which is based on Alpine and has no glibc.

changelog: Fixed cannot execute: required file not found error with the teleport-spacelift-runner image

@strideynet strideynet requested a review from hugoShaka February 26, 2025 14:24
@strideynet strideynet enabled auto-merge February 27, 2025 12:02
@strideynet strideynet added this pull request to the merge queue Feb 27, 2025
Merged via the queue into master with commit d7ea7d1 Feb 27, 2025
46 of 47 checks passed
@strideynet strideynet deleted the strideynet/fix-cgoless-tbot-build branch February 27, 2025 12:26
@public-teleport-github-review-bot

@strideynet See the table below for backport results.

Branch Result
branch/v15 Failed
branch/v16 Failed
branch/v17 Create PR

strideynet added a commit that referenced this pull request Feb 27, 2025
* Fix CGOLess tbot build

* Remove buildmode=pie for CGO_ENABLED=0 builds
strideynet added a commit that referenced this pull request Feb 27, 2025
* Fix CGOLess tbot build

* Remove buildmode=pie for CGO_ENABLED=0 builds
bl-nero pushed a commit that referenced this pull request Feb 27, 2025
* Fix CGOLess tbot build

* Remove buildmode=pie for CGO_ENABLED=0 builds
github-merge-queue bot pushed a commit that referenced this pull request Feb 27, 2025
* Fix CGOLess tbot build

* Remove buildmode=pie for CGO_ENABLED=0 builds
github-merge-queue bot pushed a commit that referenced this pull request Feb 27, 2025
* Fix CGOLess tbot build

* Remove buildmode=pie for CGO_ENABLED=0 builds
github-merge-queue bot pushed a commit that referenced this pull request Feb 27, 2025
* Fix CGOLess tbot build

* Remove buildmode=pie for CGO_ENABLED=0 builds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Machine ID: teleport-spacelift-runner image is broken due to linker issues
3 participants