Skip to content

Commit e042db4

Browse files
authored
docs: Improve Dockerfile installation instructions (#259)
1 parent bc3d4a7 commit e042db4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,18 @@ You can bundle the statically compiled `grpc_health_probe` in your container
8080
image. Choose a [binary release][rel] and download it in your Dockerfile:
8181

8282
```bash
83-
RUN GRPC_HEALTH_PROBE_VERSION=v0.4.13 && \
84-
wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 && \
83+
ARG TARGETOS TARGETARCH
84+
RUN GRPC_HEALTH_PROBE_VERSION=v0.4.38 && \
85+
wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-${TARGETOS}-${TARGETARCH} && \
8586
chmod +x /bin/grpc_health_probe
8687
```
8788

89+
or via release image:
90+
91+
```dockerfile
92+
COPY --from=ghcr.io/grpc-ecosystem/grpc-health-probe:v0.4.38 /ko-app/grpc-health-probe /bin/grpc_health_probe
93+
```
94+
8895
In your Kubernetes Pod specification manifest, specify a `livenessProbe` and/or
8996
`readinessProbe` for the container:
9097

0 commit comments

Comments
 (0)