From e22a1730a73915264d76c0660a2bb31572b5e244 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 22 Nov 2025 21:26:27 +0000 Subject: [PATCH] fix: keto/Dockerfile-alpine to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE37-MUSL-458286 - https://snyk.io/vuln/SNYK-ALPINE37-MUSL-458286 --- keto/Dockerfile-alpine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keto/Dockerfile-alpine b/keto/Dockerfile-alpine index 266f747..d915ffc 100644 --- a/keto/Dockerfile-alpine +++ b/keto/Dockerfile-alpine @@ -16,7 +16,7 @@ ADD . . RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -X github.com/justpark/auth/keto/cmd.Version=$git_tag -X github.com/justpark/auth/keto/cmd.BuildTime=`TZ=UTC date -u '+%Y-%m-%dT%H:%M:%SZ'` -X github.com/justpark/auth/keto/cmd.GitHash=$git_commit" -a -installsuffix cgo -o keto -FROM alpine:3.7 +FROM alpine:3.21.5 COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=0 /go/src/github.com/justpark/auth/keto/keto /usr/bin/keto