From c2b9833da74d3317fbbf2db876b486dfca41f7ee Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 26 Oct 2023 05:32:11 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-AMZN2-CURL-5936232 - https://snyk.io/vuln/SNYK-AMZN2-CURL-5961079 - https://snyk.io/vuln/SNYK-AMZN2-LIBCURL-5961081 - https://snyk.io/vuln/SNYK-AMZN2-LIBNGHTTP2-5971120 - https://snyk.io/vuln/SNYK-AMZN2-VIMDATA-5935804 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e8e6eca..d01b29d 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.20231020.1 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.20231020.1 #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