From c0616daf381c800bc991b33e074dcd08fa14380e Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 3 Jul 2024 13:53:30 -0400 Subject: [PATCH] Move to go 1.22.5 for a reporting go lang vuln --- Dockerfile | 4 ++-- Dockerfile.release | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2719ed1fec..05af60b55c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM golang:1.22.4-alpine3.19 AS spicedb-builder +FROM golang:1.22.5-alpine3.20 AS spicedb-builder WORKDIR /go/src/app RUN apk update && apk add --no-cache git COPY . . RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg/mod CGO_ENABLED=0 go build -v ./cmd/... -FROM golang:1.22.4-alpine3.19 AS health-probe-builder +FROM golang:1.22.5-alpine3.20 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 diff --git a/Dockerfile.release b/Dockerfile.release index 3dd2e540d0..8447e3c687 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -1,7 +1,7 @@ # vim: syntax=dockerfile ARG BASE=cgr.dev/chainguard/static:latest -FROM golang:1.22.4-alpine3.19 AS health-probe-builder +FROM golang:1.22.5-alpine3.20 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