Skip to content

Commit 24d3d35

Browse files
authoredFeb 19, 2021
CLOUDP-82915: Add Readinessprobe Dockerfile (#339)
1 parent 7280716 commit 24d3d35

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
 

‎release.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"mongodb-kubernetes-operator": "0.5.0",
33
"version-upgrade-hook": "1.0.2",
4+
"readiness-probe": "1.0.1",
45
"agent": {
56
"version": "10.27.0.6772-1",
67
"tools_version": "100.2.0"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM golang:1.15-alpine as builder
2+
3+
COPY ./cmd/readiness /build/
4+
COPY ./pkg /build/pkg
5+
COPY ./api /build/api
6+
COPY ./go.mod /build/
7+
8+
WORKDIR /build
9+
RUN CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -a -i -o readinessprobe .
10+
11+
FROM busybox
12+
13+
COPY --from=builder /build/readinessprobe /probes/

0 commit comments

Comments
 (0)