From 48672b3a1184d2a88afe9b9b294c81a2313c5fc7 Mon Sep 17 00:00:00 2001 From: Keith Rozario Date: Tue, 26 Dec 2023 20:28:28 +0800 Subject: [PATCH] replace yum with dnf --- pipeline/container_images/build_images/p312_arm64/Dockerfile | 3 ++- pipeline/container_images/build_images/p312_x86/Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pipeline/container_images/build_images/p312_arm64/Dockerfile b/pipeline/container_images/build_images/p312_arm64/Dockerfile index d6960fe2..430f473d 100644 --- a/pipeline/container_images/build_images/p312_arm64/Dockerfile +++ b/pipeline/container_images/build_images/p312_arm64/Dockerfile @@ -4,6 +4,7 @@ COPY build.py ./ RUN pip install --upgrade pip RUN pip install boto3 RUN pip install aws-lambda-powertools -RUN yum install -y python-devel +RUN dnf update +RUN dnf install -y python-devel CMD ["build.main"] \ No newline at end of file diff --git a/pipeline/container_images/build_images/p312_x86/Dockerfile b/pipeline/container_images/build_images/p312_x86/Dockerfile index a79d8acb..dc187ab0 100644 --- a/pipeline/container_images/build_images/p312_x86/Dockerfile +++ b/pipeline/container_images/build_images/p312_x86/Dockerfile @@ -4,6 +4,7 @@ COPY build.py ./ RUN pip install --upgrade pip RUN pip install boto3 RUN pip install aws-lambda-powertools -RUN yum install -y python-devel +RUN dnf update +RUN dnf install -y python-devel CMD ["build.main"] \ No newline at end of file