Comment on How do I build up a lemmy instance right from the scratch ?

<- View Parent
BlueEther@no.lastname.nz ⁨4⁩ ⁨weeks⁩ ago

Just a build conflict

[proxy builder 2/2] RUN xcaddy build --with github.com/caddy-dns/cloudflare:

3.16 go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.2 

53.19 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da 

53.47 2025/04/10 07:47:10 [INFO] exec (timeout=0s): /usr/local/go/bin/go build -o /usr/bin/caddy -ldflags -w -s -trimpath -tags nobadger,nomysql,nopgx 

68.67 # github.com/caddyserver/certmagic 

68.67 /go/pkg/mod/github.com/caddyserver/certmagic@v0.21.6/solvers.go:386:9: invalid composite literal type libdns.Record 

68.67 /go/pkg/mod/github.com/caddyserver/certmagic@v0.21.6/solvers.go:445:17: zrec.record.Type undefined (type libdns.Record has no field or method Type) 

68.67 /go/pkg/mod/github.com/caddyserver/certmagic@v0.21.6/solvers.go:449:45: zrec.record.Name undefined (type libdns.Record has no field or method Name)
88.82 2025/04/10 07:47:45 [INFO] Skipping cleanup as requested; leaving folder intact: /tmp/buildenv_2025-04-10-0746.3854595282 

88.82 2025/04/10 07:47:45 [FATAL] exit status 1
failed to solve: process “/bin/sh -c xcaddy build --with github.com/caddy-dns/cloudflare” did not complete successfully: exit code: 1`

source
Sort:hotnewtop