From b2564e1936dbffadc6f1adedf095be708926ce0e Mon Sep 17 00:00:00 2001 From: Keith Rozario Date: Tue, 26 Dec 2023 20:29:23 +0800 Subject: [PATCH] added comment on dnf --- pipeline/container_images/build_images/p312_arm64/Dockerfile | 3 +++ pipeline/container_images/build_images/p312_x86/Dockerfile | 3 +++ 2 files changed, 6 insertions(+) diff --git a/pipeline/container_images/build_images/p312_arm64/Dockerfile b/pipeline/container_images/build_images/p312_arm64/Dockerfile index 430f473d..d6a3486e 100644 --- a/pipeline/container_images/build_images/p312_arm64/Dockerfile +++ b/pipeline/container_images/build_images/p312_arm64/Dockerfile @@ -4,6 +4,9 @@ COPY build.py ./ RUN pip install --upgrade pip RUN pip install boto3 RUN pip install aws-lambda-powertools + +# Use dnf instead of yum +# https://aws.amazon.com/blogs/compute/python-3-12-runtime-now-available-in-aws-lambda/ RUN dnf update RUN dnf install -y python-devel diff --git a/pipeline/container_images/build_images/p312_x86/Dockerfile b/pipeline/container_images/build_images/p312_x86/Dockerfile index dc187ab0..9ff7dcfb 100644 --- a/pipeline/container_images/build_images/p312_x86/Dockerfile +++ b/pipeline/container_images/build_images/p312_x86/Dockerfile @@ -4,6 +4,9 @@ COPY build.py ./ RUN pip install --upgrade pip RUN pip install boto3 RUN pip install aws-lambda-powertools + +# Use dnf instead of yum +# https://aws.amazon.com/blogs/compute/python-3-12-runtime-now-available-in-aws-lambda/ RUN dnf update RUN dnf install -y python-devel