-
Notifications
You must be signed in to change notification settings - Fork 156
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
Go 1.21 Fails to Build #982
Comments
Can you share the full Dockerfile? |
@dlorenc https://github.com/defenseunicorns/leapfrogai/blob/main/Dockerfile - we updated it back to 1.20 for the moment. |
Thanks for reporting this! I'm able to reproduce with our image and not I'll add a test that our image can be used to build an app that has an external dependency, which is something we hadn't had coverage for before. |
Just to wrap this up, the issue was that Go 1.21 started considering the contents of
#1106 added a test that packages with external dependencies can be built, and this passed after Jon's change. Thanks again for reporting this! Let us know if anything else looks suspect, this is really helpful for vetting out the image before the real release! |
…-images#982) Signed-off-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com> Co-authored-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com>
Which image/versions are related to this issue/feature request?
Go 1.21
Issue/Feature description
Getting the following issue consistently when building with the 1.21 image related to GOPROXY. Output is truncated to just the relevant parts:
Go 1.20 builds successfully. Go 1.21rc2 binary builds locally correctly, even with GOPROXY set the same as in the Chainguard image.
In
go env
:GOPROXY=''
The text was updated successfully, but these errors were encountered: