From 06fc83b0919365cb9cbeafc7e0df4598c9de2e92 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 16 Dec 2023 14:44:59 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-AMZN2-LIBNGHTTP2-5971120 - https://snyk.io/vuln/SNYK-AMZN2-VIMMINIMAL-5935834 - https://snyk.io/vuln/SNYK-AMZN2-VIMMINIMAL-5935982 - https://snyk.io/vuln/SNYK-AMZN2-VIMMINIMAL-5935990 - https://snyk.io/vuln/SNYK-AMZN2-VIMMINIMAL-5935998 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e8e6eca..7e1a6a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ #FROM amazonlinux:2023.1.20230719.0 as build -FROM amazonlinux:2.0.20230719.0 as build +FROM amazonlinux:2.0.20231206.0 as build RUN mkdir -p /var/tmp/workdir WORKDIR /var/tmp/workdir @@ -88,7 +88,7 @@ ENTRYPOINT [] CMD /bin/bash #FROM amazonlinux:2023.1.20230719.0 -FROM amazonlinux:2.0.20230719.0 +FROM amazonlinux:2.0.20231206.0 #RUN yum install -y rsync git jq tar zip unzip findutils binutils make xz java java-devel which python3 pip gcc hostname RUN yum install -y rsync git jq tar zip unzip amazon-linux-extras binutils make xz java java-devel which python3 pip3 gcc hostname