From ef69b92c441cdf9a316f46379b4deeaa36ab1112 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 8 Aug 2023 21:59:55 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5776808 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5776808 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5788370 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5788370 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5821142 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0f015e6..8d33e1e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN /go/bin/sqlc generate RUN go build . RUN go install github.com/pressly/goose/v3/cmd/goose@latest -FROM alpine:latest as app +FROM alpine:3.18.3 as app RUN apk --no-cache add bash RUN apk --no-cache add libc6-compat