Skip to content

Commit

Permalink
use git SHA for vuln fix in grpc-health-probe
Browse files Browse the repository at this point in the history
GHSA-2c7c-3mj9-8fq
  • Loading branch information
vroldanbet committed Nov 27, 2023
1 parent 8933acc commit 6407160
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 680bc1a
RUN git checkout 46b326771cb9e57af7a495973a180e388b1a516f
RUN CGO_ENABLED=0 go install -a -tags netgo -ldflags=-w

FROM cgr.dev/chainguard/static:latest
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,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 680bc1a
RUN git checkout 46b326771cb9e57af7a495973a180e388b1a516f
RUN CGO_ENABLED=0 go install -a -tags netgo -ldflags=-w

FROM $BASE
Expand Down

0 comments on commit 6407160

Please sign in to comment.