-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
Can't build with caddy/cache-handler on amd64 #374
Comments
Huh, yeah, that's a weird one. I tried setting:
and it didn't seem to make any difference (almost like it is ignoring the flags, however, setting them to obviously wrong values results in an expected error). I tried alpine (musl) and bookworm (libc) and got basically the same result as well. Maybe I am doing something wrong, or maybe the link error here is from go and not cgo. In which case maybe |
Thanks for the tip. I have no clue whether this is a workaround or an actual solution. |
It's a different way of laying out the code in memory, and it should still work fine. As a side note, I wonder if applying this might mitigate the epic crash when 🤔 Please do let us know if you run into any more issues with positional independence turned on though, for now, I'm going to close this. |
thanks @withinboredom |
The following Dockerfile can not be built for amd64 target arch, regardless of the underlying host machine.
It works fine for arm64.
Things I've already tried :
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: