Add dappco.re vanity import handler (cmd/vanity-import/) that serves go-import meta tags, enabling `go get dappco.re/core` to resolve to forge.lthn.ai/host-uk/core. Deployed as a Docker container behind Traefik on snider-linux. Add Woodpecker CI pipeline (.woodpecker/bugseti.yml) for BugSETI cross-platform builds. Phase 1: Linux amd64 with CGO, triggered on bugseti-v* tags and main branch pushes to cmd/bugseti/. Closes #3, closes #9 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 lines
237 B
Docker
9 lines
237 B
Docker
FROM golang:1.25-alpine AS build
|
|
WORKDIR /src
|
|
COPY go.mod main.go ./
|
|
RUN go build -trimpath -ldflags="-w -s" -o /vanity-import .
|
|
|
|
FROM alpine:3.21
|
|
COPY --from=build /vanity-import /vanity-import
|
|
EXPOSE 8080
|
|
ENTRYPOINT ["/vanity-import"]
|