Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536# Run this dockerfile from the top level of the indigo git repository like:## podman build -f ./cmd/beemo/Dockerfile -t beemo .
### Compile stageFROM golang:1.26-alpine3.22 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 /beemo ./cmd/beemo
### Run stageFROM alpine:3.22
RUN apk add --no-cache --update dumb-init ca-certificates runitENTRYPOINT ["dumb-init", "--"]
WORKDIR /RUN mkdir -p data/beemoCOPY --from=build-env /beemo /
# small things to make golang binaries work well under alpineENV GODEBUG=netdns=goENV TZ=Etc/UTC
CMD ["/beemo"]
LABEL org.opencontainers.image.source=https://github.com/bluesky-social/indigoLABEL org.opencontainers.image.description="ATP ChatOps Bot (beemo)"LABEL org.opencontainers.image.licenses="MIT OR Apache-2.0"