From da230839beac3789df6587283c17045c26e34834 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 6 Oct 2022 07:04:03 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UBUNTU2204-GNUPG2-3035409 - https://snyk.io/vuln/SNYK-UBUNTU2204-PERL-2789081 - https://snyk.io/vuln/SNYK-UBUNTU2204-SHADOW-2801886 - https://snyk.io/vuln/SNYK-UBUNTU2204-SHADOW-2801886 - https://snyk.io/vuln/SNYK-UBUNTU2204-ZLIB-2975633 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ab784d0..dd45f58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ COPY . /go/bin #final stage -FROM ubuntu:latest +FROM ubuntu:22.04 RUN apt-get update RUN apt-get install ca-certificates -y WORKDIR /app