From 6ea6c96c4436a7f58eaf954658aa9f732f8c08c2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 29 Jun 2024 07:44:02 +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-LIBCRYPT-6745245 - https://snyk.io/vuln/SNYK-AMZN2-LIBCURL-5936187 - https://snyk.io/vuln/SNYK-AMZN2-LIBSSH2-5912463 - https://snyk.io/vuln/SNYK-AMZN2-LIBXML2-6043103 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e8e6eca..7172698 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.20240610.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.20240610.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