Files
orchestra/Dockerfile.api
T
kami 4fbf3ac966 Report queued tasks the scheduling pass never considers
A task in retry backoff was filtered out before the candidate loop, so it
recorded no rejection at all: queued, apparently assignable, and silent. That is
the exact shape that made F5 take a live session to diagnose. It now reports
"retry backoff until <time>".

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-26 23:42:26 +04:00

22 lines
815 B
Docker

FROM golang:1.22-alpine AS build
WORKDIR /src
ARG BUILD_REVISION=devel
ARG BUILD_TIME=unknown
ARG BUILD_DIRTY=unknown
COPY go.mod ./
RUN go mod download
COPY . ./
RUN go build -trimpath -ldflags="-s -w -X orchestra/internal/buildinfo.Revision=${BUILD_REVISION} -X orchestra/internal/buildinfo.Time=${BUILD_TIME} -X orchestra/internal/buildinfo.Dirty=${BUILD_DIRTY}" -o /out/orchestra ./cmd/orchestra && \
go build -trimpath -ldflags="-s -w" -o /out/orchestra-user ./cmd/orchestra-user
FROM alpine:3.21
RUN adduser -D -u 10001 orchestra
WORKDIR /app
COPY --from=build /out/orchestra /app/orchestra
COPY --from=build /out/orchestra-user /app/orchestra-user
RUN mkdir /data && chown orchestra:orchestra /data
ENV ORCHESTRA_DATA=/data ORCHESTRA_PORT=9145
VOLUME ["/data"]
EXPOSE 9145
ENTRYPOINT ["/app/orchestra"]