You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I seems to be unable to build caddy-tailscale with caddy-maxmind-geolocation.
Building them separately works fine but if I build them together the build fails with:
26.54 2024/09/06 11:55:23 [INFO] exec (timeout=0s): /usr/local/go/bin/go build -o /usr/bin/caddy -ldflags -w -s -trimpath -tags nobadger
56.30 # tailscale.com/net/tstun
56.30 /go/pkg/mod/[email protected]/net/tstun/wrap.go:965:17: res.packet.IsNil undefined (type *stack.PacketBuffer has no field or method IsNil)
59.87 2024/09/06 11:55:56 [INFO] Skipping cleanup as requested; leaving folder intact: /tmp/buildenv_2024-09-06-1154.204774573
59.87 2024/09/06 11:55:56 [FATAL] exit status 1
------
failed to solve: process "/bin/sh -c xcaddy build --with github.com/tailscale/caddy-tailscale --with github.com/porech/caddy-maxmind-geolocation" did not complete successfully: exit code: 1
This is my Dockerfile:
FROM caddy:2.8.4-builder AS builder
RUN xcaddy build \
--with github.com/tailscale/caddy-tailscale \
--with github.com/porech/caddy-maxmind-geolocation
FROM caddy:2.8.4
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
Maybe I'm doing something wrong here?
The text was updated successfully, but these errors were encountered:
I seems to be unable to build caddy-tailscale with caddy-maxmind-geolocation.
Building them separately works fine but if I build them together the build fails with:
This is my Dockerfile:
Maybe I'm doing something wrong here?
The text was updated successfully, but these errors were encountered: