From f916fa5c6cfb1b7b7e00ea45162191a21c4838cc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 17 Jul 2024 18:51:04 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE313-APKTOOLS-1533754 - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569448 - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569448 - https://snyk.io/vuln/SNYK-ALPINE313-ZLIB-2976175 - https://snyk.io/vuln/SNYK-ALPINE313-APKTOOLS-1246345 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 60593646c..ca5ac7515 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN yarn RUN yarn build -FROM golang:1.14-alpine as go_builder +FROM golang:1.23rc2-alpine as go_builder LABEL maintainer="Sundowndev" \ org.label-schema.name="phoneinfoga" \ @@ -32,7 +32,7 @@ RUN go generate ./... RUN go build -v -o phoneinfoga . -FROM golang:1.14-alpine +FROM golang:1.23rc2-alpine WORKDIR /app