File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- FROM golang:1.23-alpine as builder
1
+ FROM golang:1.23-alpine AS builder
2
2
3
3
RUN apk update && apk add sqlite build-base git mercurial bash
4
4
WORKDIR /build
5
5
6
6
COPY . .
7
7
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}' ) && \
9
9
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) && \
10
10
chmod +x /bin/grpc_health_probe
11
11
Original file line number Diff line number Diff line change 2
2
# build opm images. See the configurations in .goreleaser.yaml
3
3
# and .github/workflows/release.yaml.
4
4
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
6
6
FROM gcr.io/distroless/static:debug
7
7
COPY --from=grpc_health_probe /ko-app/grpc-health-probe /bin/grpc_health_probe
8
8
COPY ["nsswitch.conf" , "/etc/nsswitch.conf" ]
Original file line number Diff line number Diff line change 1
- FROM golang:1.23-alpine as builder
1
+ FROM golang:1.23-alpine AS builder
2
2
3
3
RUN apk update && apk add sqlite build-base git mercurial bash linux-headers
4
4
WORKDIR /build
5
5
6
6
COPY . .
7
7
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}' ) && \
9
9
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) && \
10
10
chmod +x /bin/grpc_health_probe
11
11
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ WORKDIR /build
14
14
15
15
COPY . .
16
16
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}' ) && \
18
18
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) && \
19
19
chmod +x /bin/grpc_health_probe
20
20
You can’t perform that action at this time.
0 commit comments