Skip to content

Commit cefde26

Browse files
Add missing multicluster CLI Dockerfile (#235)
1 parent 6f629fd commit cefde26

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tools/multicluster/Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM golang:1.19 as builder
2+
WORKDIR /go/src
3+
ADD . .
4+
5+
RUN CGO_ENABLED=0 go build -a -buildvcs=false -o /go/bin/mongodb-multicluster
6+
7+
FROM scratch
8+
COPY --from=builder /go/bin/mongodb-multicluster /go/bin/mongodb-multicluster
9+
10+
ENTRYPOINT [ "/go/bin/mongodb-multicluster" ]

0 commit comments

Comments
 (0)