From 4ac3a7dcc5593ab4f8ea8eed89996b3eb0bd6f93 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 6 Aug 2024 06:26:50 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE310-APKTOOLS-1534688 - https://snyk.io/vuln/SNYK-ALPINE310-OPENSSL-1075741 - https://snyk.io/vuln/SNYK-ALPINE310-OPENSSL-1089244 - https://snyk.io/vuln/SNYK-ALPINE310-OPENSSL-587954 - https://snyk.io/vuln/SNYK-ALPINE310-OPENSSL-587954 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6b15c3714..c09486269 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ RUN cd ${TARGET_DIR}/access/frontend && go build -ldflags='-s -w' -FROM alpine:3.10.3 +FROM alpine:3.19 RUN apk add --no-cache ca-certificates tzdata && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ENV TARGET_DIR /go/src/github.com/PluralityNET/PluralityServer