Skip to content

Commit

Permalink
Merge pull request #2213 from kartikaysaxena/security-fix
Browse files Browse the repository at this point in the history
security-fix: upgrade go base image to fix new CVE published
  • Loading branch information
tstirrat15 authored Jan 28, 2025
2 parents 20d90b6 + 5938fa0 commit 1a81efa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM golang:1.23.4-alpine3.20 AS spicedb-builder
FROM golang:1.23.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.23.4-alpine3.20 AS health-probe-builder
FROM golang:1.23.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/authzed/grpc-health-probe.git
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# vim: syntax=dockerfile
ARG BASE=cgr.dev/chainguard/static:latest

FROM golang:1.23.4-alpine3.20 AS health-probe-builder
FROM golang:1.23.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/authzed/grpc-health-probe.git
Expand Down

0 comments on commit 1a81efa

Please sign in to comment.