Skip to content

Commit

Permalink
Merge pull request #1893 from josephschorr/update-grpc-health-probe-may9
Browse files Browse the repository at this point in the history
Update grpc health probe for reported vuln in Go
  • Loading branch information
josephschorr committed May 9, 2024
2 parents 07a5551 + b2ff32c commit 1e847d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.2-alpine3.18 AS spicedb-builder
FROM golang:1.22.3-alpine3.18 AS spicedb-builder
WORKDIR /go/src/app
RUN apk update && apk add --no-cache git
COPY . .
Expand All @@ -9,7 +9,7 @@ WORKDIR /go/src/app
RUN apk update && apk add --no-cache git
RUN git clone https://github.com/grpc-ecosystem/grpc-health-probe.git
WORKDIR /go/src/app/grpc-health-probe
RUN git checkout cc08926d2769bbe592eef2e84498baf3ba029387
RUN git checkout bea3bb2419f2d0f0cd4a97b8190e8fafb3e48dda
RUN CGO_ENABLED=0 go install -a -tags netgo -ldflags=-w

FROM cgr.dev/chainguard/static:latest
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# vim: syntax=dockerfile
ARG BASE=cgr.dev/chainguard/static:latest

FROM golang:1.22.2-alpine3.18 AS health-probe-builder
FROM golang:1.22.3-alpine3.18 AS health-probe-builder
WORKDIR /go/src/app
RUN apk update && apk add --no-cache git
RUN git clone https://github.com/grpc-ecosystem/grpc-health-probe.git
WORKDIR /go/src/app/grpc-health-probe
RUN git checkout cc08926d2769bbe592eef2e84498baf3ba029387
RUN git checkout bea3bb2419f2d0f0cd4a97b8190e8fafb3e48dda
RUN CGO_ENABLED=0 go install -a -tags netgo -ldflags=-w

FROM $BASE
Expand Down

0 comments on commit 1e847d6

Please sign in to comment.