From 64071606f35b87f629c9cb7048bda5d73ddc9c70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Rold=C3=A1n=20Betancort?= Date: Thu, 23 Nov 2023 12:42:38 +0000 Subject: [PATCH] use git SHA for vuln fix in grpc-health-probe GHSA-2c7c-3mj9-8fq --- Dockerfile | 2 +- Dockerfile.release | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4e8cc429c2..c0ff317d5b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Dockerfile.release b/Dockerfile.release index 18311eae03..6dd5e24c8a 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -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