relay filter/appview bootstrap
1FROM golang:1.25-alpine3.22 AS build-env
2
3RUN apk add --no-cache build-base make git
4
5WORKDIR /dockerbuild
6
7RUN git clone --depth 1 https://github.com/bluesky-social/indigo.git . && \
8 git fetch --tags
9
10RUN GIT_VERSION=$(git describe --tags --long --always) && \
11 go build -tags timetzdata -o /tap ./cmd/tap
12
13FROM alpine:3.22
14
15RUN apk add --no-cache --update dumb-init ca-certificates runit
16ENTRYPOINT ["dumb-init", "--"]
17
18RUN mkdir -p /data
19WORKDIR /data
20COPY --from=build-env /tap /
21
22ENV GODEBUG=netdns=go
23ENV TZ=Etc/UTC
24
25EXPOSE 2480
26
27CMD ["/tap", "run"]
28
29LABEL org.opencontainers.image.source=https://github.com/bluesky-social/indigo
30LABEL org.opencontainers.image.description="AT Protocol Sync Utility (tap)"
31LABEL org.opencontainers.image.licenses=MIT