Skip to content

Commit 1e9dcc2

Browse files
committed
fix(admin): use indexed jobs to process backups
1 parent d022ae3 commit 1e9dcc2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

all.Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN apt-get install gcc libc6-dev
1818

1919
WORKDIR /app
2020

21-
RUN mkdir jitsubase kafkabase eventslog bulkerlib bulkerapp ingest sync-sidecar sync-controller ingress-manager config-keeper admin
21+
RUN mkdir jitsubase kafkabase eventslog bulkerlib bulkerapp ingest sync-sidecar sync-controller ingress-manager config-keeper admin reprocessing-worker
2222
RUN mkdir connectors connectors/airbytecdk connectors/firebase
2323

2424
COPY jitsubase/go.* ./jitsubase/
@@ -33,6 +33,7 @@ COPY ingress-manager/go.* ./ingress-manager/
3333
COPY config-keeper/go.* ./config-keeper/
3434

3535
COPY admin/go.* ./admin/
36+
COPY reprocessing-worker/go.* ./reprocessing-worker/
3637
COPY connectors/airbytecdk/go.* ./connectors/airbytecdk/
3738
COPY connectors/firebase/go.* ./connectors/firebase/
3839
COPY go.work ./go.work
@@ -52,6 +53,7 @@ RUN --mount=type=cache,id=go_mod,mode=0755,target=/go/pkg/mod go build -ldflags=
5253
RUN --mount=type=cache,id=go_mod,mode=0755,target=/go/pkg/mod go build -ldflags="-X main.Commit=$VERSION -X main.Timestamp=$BUILD_TIMESTAMP" -o ingmgr ./ingress-manager
5354
RUN --mount=type=cache,id=go_mod,mode=0755,target=/go/pkg/mod go build -ldflags="-X main.Commit=$VERSION -X main.Timestamp=$BUILD_TIMESTAMP" -o cfgkpr ./config-keeper
5455
RUN --mount=type=cache,id=go_mod,mode=0755,target=/go/pkg/mod go build -ldflags="-X main.Commit=$VERSION -X main.Timestamp=$BUILD_TIMESTAMP" -o admin ./admin
56+
RUN --mount=type=cache,id=go_mod,mode=0755,target=/go/pkg/mod go build -ldflags="-X main.Commit=$VERSION -X main.Timestamp=$BUILD_TIMESTAMP" -o reprocessing-worker ./reprocessing-worker
5557

5658
FROM base as bulker
5759

@@ -87,3 +89,8 @@ FROM base as admin
8789

8890
COPY --from=builder /app/admin ./
8991
CMD ["/app/admin"]
92+
93+
FROM base as reprocessing-worker
94+
95+
COPY --from=builder /app/reprocessing-worker ./
96+
CMD ["/app/reprocessing-worker"]

0 commit comments

Comments
 (0)