Skip to content

Installation issue with libdns/timeweb #1

@dyakovri

Description

@dyakovri

Trying to install timeweb-caddy with xcaddy in latest official caddy docker image

FROM caddy:2.10.2-builder AS builder
RUN xcaddy build \
    --with github.com/veynko/timeweb-caddy

FROM caddy:2.10.2
COPY --from=builder /usr/bin/caddy /usr/bin/caddy

got

151.6 2025/10/26 13:16:50 [INFO] exec (timeout=0s): /usr/local/go/bin/go build -o /usr/bin/caddy -ldflags -w -s -trimpath -tags nobadger,nomysql,nopgx 
179.2 # github.com/libdns/timeweb
179.2 /go/pkg/mod/github.com/libdns/timeweb@v1.0.2/client.go:26:79: record.ID undefined (type libdns.Record has no field or method ID)
179.2 /go/pkg/mod/github.com/libdns/timeweb@v1.0.2/client.go:36:79: record.ID undefined (type libdns.Record has no field or method ID)
179.2 /go/pkg/mod/github.com/libdns/timeweb@v1.0.2/helpers.go:11:16: libRecord.ID undefined (type libdns.Record has no field or method ID)
179.2 /go/pkg/mod/github.com/libdns/timeweb@v1.0.2/helpers.go:11:29: record.ID undefined (type libdns.Record has no field or method ID)
179.2 /go/pkg/mod/github.com/libdns/timeweb@v1.0.2/helpers.go:11:46: libRecord.Name undefined (type libdns.Record has no field or method Name)
179.2 /go/pkg/mod/github.com/libdns/timeweb@v1.0.2/helpers.go:11:61: record.Name undefined (type libdns.Record has no field or method Name)
179.2 /go/pkg/mod/github.com/libdns/timeweb@v1.0.2/helpers.go:11:79: libRecord.Type undefined (type libdns.Record has no field or method Type)
179.2 /go/pkg/mod/github.com/libdns/timeweb@v1.0.2/helpers.go:11:94: record.Type undefined (type libdns.Record has no field or method Type)
179.2 /go/pkg/mod/github.com/libdns/timeweb@v1.0.2/models.go:44:9: invalid composite literal type libdns.Record
179.2 /go/pkg/mod/github.com/libdns/timeweb@v1.0.2/models.go:53:9: invalid composite literal type libdns.Record
179.2 /go/pkg/mod/github.com/libdns/timeweb@v1.0.2/models.go:53:9: too many errors

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions