From 77cf14f28c857994caad2230639f98c1066f27e8 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 18 Mar 2022 21:56:24 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UBUNTU2004-PCRE3-583594 - https://snyk.io/vuln/SNYK-UBUNTU2004-PERL-1930907 - https://snyk.io/vuln/SNYK-UBUNTU2004-SHADOW-577863 - https://snyk.io/vuln/SNYK-UBUNTU2004-SHADOW-577863 - https://snyk.io/vuln/SNYK-UBUNTU2004-TAR-1126791 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ab784d0..59aac4b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ COPY . /go/bin #final stage -FROM ubuntu:latest +FROM ubuntu:20.04 RUN apt-get update RUN apt-get install ca-certificates -y WORKDIR /app