Closed ispmarin closed 1 year ago
Similar issue here. Building with xcaddy and the process hangs here:
You can work around this by adding --with github.com/caddyserver/caddy/v2=github.com/caddyserver/caddy/v2@v2.6.3
to your build command... not sure why this fixes it.
This might be related to https://github.com/caddyserver/caddy/issues/5301, but in those cases the go get
command was panicking, not just hanging.
Since the workaround is the same for both, I wonder if it's the same bug.
The Go team is aware of the bug and knows what the cause is. However due to low morale at Google right now, I'm told it's hard to find motivation to dig in and fix it. Understandably, we will need to wait for a proper fix.
Another solution for porkbun specifically is apparently to update its caddy/v2 dependency to v2.6.3 (the latest release as of now).
Another solution for porkbun specifically is apparently to update its caddy/v2 dependency to v2.6.3
The dependency bump works for now at least.
Fixed in #3 with v0.1.1 published.
I've been trying to build a caddy docker image with porkbun DNS using this Dockerfile:
And every single time the build freezes on the go download phase and does not advance:
What could be going on?
Thanks