From d029568bdd7bc8ad5c1a84d6e3b8ed15305c8bc3 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 1 Oct 2021 22:48:19 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UBUNTU2004-BASH-581100 - https://snyk.io/vuln/SNYK-UBUNTU2004-LIBGCRYPT20-1297919 - https://snyk.io/vuln/SNYK-UBUNTU2004-LIBGCRYPT20-1583851 - https://snyk.io/vuln/SNYK-UBUNTU2004-SHADOW-577863 - https://snyk.io/vuln/SNYK-UBUNTU2004-SHADOW-577863 --- 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