Skip to content

Commit 7f04f2c

Browse files
committed
S3UTILS-233: Add BackupRepair to s3utils container image
1 parent 005e56c commit 7f04f2c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
FROM golang:1.24 AS go-builder
2+
WORKDIR /src
3+
COPY BackupRepair/ .
4+
RUN CGO_ENABLED=0 go build -o /backup-repair .
5+
16
ARG NODE_VERSION=22.15.0-bookworm-slim
27

38
# Use separate builder to retrieve & build node modules
@@ -45,6 +50,7 @@ COPY ./ ./
4550
COPY --from=builder /usr/src/app/node_modules ./node_modules/
4651

4752
COPY --from=builder /usr/src/app/supervisord /usr/local/bin/
53+
COPY --from=go-builder /backup-repair /usr/src/app/
4854

4955
ENV NO_PROXY localhost,127.0.0.1
5056
ENV no_proxy localhost,127.0.0.1

0 commit comments

Comments
 (0)