From 5cb03cfbb28fff8c52339b19bda30469ce51eefc Mon Sep 17 00:00:00 2001 From: Nikki Tebaldi <17799906+nikki-t@users.noreply.github.com> Date: Fri, 10 May 2024 19:42:24 +0000 Subject: [PATCH] Fix SNYK vulnerabilities and upgrade exe environment --- Dockerfile | 6 +++--- requirements.txt | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index e0d89a5..ad3ad28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -# Stage 0 - Create from Python 3.10-alpine3.15 image -FROM amazon/aws-lambda-python:3.9 -RUN yum update -y && yum install -y tcsh +# Stage 0 - Create from aws-lambda-python:3.12 image +FROM amazon/aws-lambda-python:3.12 +RUN dnf update -y && dnf install -y tcsh # Stage 1 - Install dependencies # FROM stage0 as stage1 diff --git a/requirements.txt b/requirements.txt index 27c7c0d..b602600 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,11 @@ -boto3==1.28.63 -botocore==1.31.63 -certifi==2023.7.22 -charset-normalizer==3.2.0 -idna==3.4 +boto3==1.34.102 +botocore==1.34.102 +certifi==2024.2.2 +charset-normalizer==3.3.2 +idna==3.7 jmespath==1.0.1 -python-dateutil==2.8.2 +python-dateutil==2.9.0.post0 requests==2.31.0 -s3transfer==0.7.0 +s3transfer==0.10.1 six==1.16.0 -urllib3==1.26.17 +urllib3==1.26.18