From ed8162e9861d9290d6fbdcca6fe61473a6bee9a9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 25 Jan 2024 22:43:33 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-3314621 - https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-3314622 - https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-3314629 - https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-3368753 - https://snyk.io/vuln/SNYK-ALPINE315-ZLIB-2976173 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4dd0258..76a2f94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ COPY . . # Build the Go app RUN go build -o main . -FROM golang:1.18.0-alpine +FROM golang:1.22rc2-alpine RUN apk --no-cache add ca-certificates