Skip to content

Commit cb99c30

Browse files
committed
review updates
Signed-off-by: Jordan Keister <[email protected]>
1 parent 072738c commit cb99c30

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

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.37 && \
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

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.37 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"]

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.37 && \
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

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.37 && \
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)