From 8176c36aef7a84b257aaa8944d528953f6d02a22 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 8 Sep 2024 07:17:56 +0000 Subject: [PATCH] fix: build/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE316-BUSYBOX-6913410 - https://snyk.io/vuln/SNYK-ALPINE316-BUSYBOX-6913410 --- build/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Dockerfile b/build/Dockerfile index 708ce870b..d25eba197 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -18,7 +18,7 @@ RUN CGO_ENABLED=${CGO_ENABLED_VAL} go build -v -ldflags "-w -s" -o /go/bin/terra # -------- prod stage -------- # -FROM alpine:3.16 +FROM alpine:3.19.4 # create non root user RUN addgroup --gid 101 terrascan && \