Skip to content

Commit 9bd2159

Browse files
grokspawnci-robot
authored andcommitted
🌱 synch dockerfiles with grpc-health-probe version in go.mod (#1577)
* synch dockerfiles with grpc-health-probe version in go.mod Signed-off-by: Jordan Keister <[email protected]> * review updates Signed-off-by: Jordan Keister <[email protected]> --------- Signed-off-by: Jordan Keister <[email protected]> Upstream-repository: operator-registry Upstream-commit: 57fd364bcb20bba247f4fcd1164ede1afe6fe1eb
1 parent ecc1251 commit 9bd2159

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

staging/operator-registry/registry.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM golang:1.23-alpine as builder
1+
FROM golang:1.23-alpine AS builder
22

33
RUN apk update && apk add sqlite build-base git mercurial bash
44
WORKDIR /build
55

66
COPY . .
77
RUN make static
8-
RUN GRPC_HEALTH_PROBE_VERSION=v0.4.28 && \
8+
RUN GRPC_HEALTH_PROBE_VERSION=$(go list -m github.com/grpc-ecosystem/grpc-health-probe| awk '{print $2}') && \
99
wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-$(go env GOARCH) && \
1010
chmod +x /bin/grpc_health_probe
1111

staging/operator-registry/release/goreleaser.opm.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# build opm images. See the configurations in .goreleaser.yaml
33
# and .github/workflows/release.yaml.
44

5-
FROM ghcr.io/grpc-ecosystem/grpc-health-probe:v0.4.29 as grpc_health_probe
5+
FROM ghcr.io/grpc-ecosystem/grpc-health-probe:v0.4.37 AS grpc_health_probe
66
FROM gcr.io/distroless/static:debug
77
COPY --from=grpc_health_probe /ko-app/grpc-health-probe /bin/grpc_health_probe
88
COPY ["nsswitch.conf", "/etc/nsswitch.conf"]

staging/operator-registry/upstream-builder.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM golang:1.23-alpine as builder
1+
FROM golang:1.23-alpine AS builder
22

33
RUN apk update && apk add sqlite build-base git mercurial bash linux-headers
44
WORKDIR /build
55

66
COPY . .
77
RUN make static
8-
RUN GRPC_HEALTH_PROBE_VERSION=v0.4.28 && \
8+
RUN GRPC_HEALTH_PROBE_VERSION=$(go list -m github.com/grpc-ecosystem/grpc-health-probe| awk '{print $2}') && \
99
wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-$(go env GOARCH) && \
1010
chmod +x /bin/grpc_health_probe
1111

staging/operator-registry/upstream-opm-builder.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ WORKDIR /build
1414

1515
COPY . .
1616
RUN make static
17-
RUN GRPC_HEALTH_PROBE_VERSION=v0.4.28 && \
17+
RUN GRPC_HEALTH_PROBE_VERSION=$(go list -m github.com/grpc-ecosystem/grpc-health-probe| awk '{print $2}') && \
1818
wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-$(go env GOARCH) && \
1919
chmod +x /bin/grpc_health_probe
2020

0 commit comments

Comments
 (0)