This repository has no description
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738# Run this dockerfile from the top level of the indigo git repository like:## podman build -f ./cmd/bluepages/Dockerfile -t bluepages .
### Compile stageFROM golang:1.26.10-alpine AS build-envRUN apk add --no-cache build-base make git
ADD . /dockerbuildWORKDIR /dockerbuild
# timezone data for alpine buildsENV GOEXPERIMENT=loopvarRUN GIT_VERSION=$(git describe --tags --long --always) && \ go build -tags timetzdata -o /bluepages ./cmd/bluepages
### Run stageFROM alpine:3.24
RUN apk add --no-cache --update dumb-init ca-certificates runit
WORKDIR /RUN mkdir -p data/bluepagesCOPY --from=build-env /bluepages /
# small things to make golang binaries work well under alpineENV GODEBUG=netdns=goENV TZ=Etc/UTC
EXPOSE 6600
ENTRYPOINT ["/usr/bin/dumb-init", "--"]CMD ["/bluepages", "serve"]
LABEL org.opencontainers.image.source=https://github.com/bluesky-social/indigoLABEL org.opencontainers.image.description="atproto identity directory (bluepages)"LABEL org.opencontainers.image.licenses="MIT OR Apache-2.0"