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

Build CLI with -tags 'netgo' #128

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Conversation

wkalt
Copy link
Contributor

@wkalt wkalt commented Sep 27, 2023

By default we are relying on cgo for DNS resolution, which causes
binaries built on ubuntu 22.04 to break on ubuntu 20.04 due to some
changes in glibc. See golang/go#57328

This changes us to not rely on that, which causes builds to succeed.

@wkalt wkalt requested a review from bryfox September 27, 2023 13:45
By default we are relying on cgo for DNS resolution, which causes
binaries built on ubuntu 22.04 to break on ubuntu 20.04 due to some
changes in glibc. See golang/go#57328

This changes us to not rely on that, which causes builds to succeed.
@wkalt wkalt force-pushed the ticket/fg-5005/build-cli-without-cgo branch from 02d77b4 to e114287 Compare September 27, 2023 13:53
@wkalt wkalt changed the title Build CLI with CGO_ENABLED=0 Build CLI with -tags 'netgo' Sep 27, 2023
@wkalt wkalt merged commit 4b8acea into main Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants