From 0be511ee2efee6731450019aad8e158faa91dbce Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 20 Apr 2024 03:45:34 +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..e7d8fd5 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.20240412.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.20240412.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