From 331d2463750a63ce80e788f216e99ba1711698d9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 6 Jun 2024 01:18:12 +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-GLIB2-6663608 - https://snyk.io/vuln/SNYK-AMZN2-GLIBC-6745196 - https://snyk.io/vuln/SNYK-AMZN2-GLIBCCOMMON-6745132 - https://snyk.io/vuln/SNYK-AMZN2-GLIBCLANGPACKEN-6745141 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e8e6eca..c9b05e9 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.20240529.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.20240529.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