From 86e5b5993ff8b41dff07fd185764897367f928d4 Mon Sep 17 00:00:00 2001 From: Lucas <12496191+lucashuy@users.noreply.github.com> Date: Fri, 20 Oct 2023 16:07:26 -0700 Subject: [PATCH] Fix package names --- build-image-src/Dockerfile-dotnet6 | 2 +- build-image-src/Dockerfile-dotnet7 | 2 +- build-image-src/Dockerfile-java11 | 2 +- build-image-src/Dockerfile-java17 | 2 +- build-image-src/Dockerfile-java8_al2 | 2 +- build-image-src/Dockerfile-nodejs12x | 5 ++++- build-image-src/Dockerfile-nodejs16x | 2 +- build-image-src/Dockerfile-nodejs18x | 2 +- build-image-src/Dockerfile-provided_al2 | 2 +- build-image-src/Dockerfile-ruby27 | 2 +- build-image-src/Dockerfile-ruby32 | 2 +- 11 files changed, 14 insertions(+), 11 deletions(-) diff --git a/build-image-src/Dockerfile-dotnet6 b/build-image-src/Dockerfile-dotnet6 index bd1c6d3..f266365 100644 --- a/build-image-src/Dockerfile-dotnet6 +++ b/build-image-src/Dockerfile-dotnet6 @@ -24,7 +24,7 @@ RUN yum groupinstall -y development && \ # https://aws.amazon.com/amazon-linux-2/faqs/#Amazon_Linux_Extras RUN amazon-linux-extras enable python3.8 && \ yum clean metadata && \ - yum install -y python3.8 python3.8-devel && \ + yum install -y python38 python38-devel && \ yum clean all && \ ln -s /usr/bin/python3.8 /usr/bin/python3 && \ ln -s /usr/bin/pip3.8 /usr/bin/pip3 && \ diff --git a/build-image-src/Dockerfile-dotnet7 b/build-image-src/Dockerfile-dotnet7 index bca42ad..8a37385 100644 --- a/build-image-src/Dockerfile-dotnet7 +++ b/build-image-src/Dockerfile-dotnet7 @@ -28,7 +28,7 @@ RUN yum groupinstall -y development && \ # https://aws.amazon.com/amazon-linux-2/faqs/#Amazon_Linux_Extras RUN amazon-linux-extras enable python3.8 && \ yum clean metadata && \ - yum install -y python3.8 python3.8-devel && \ + yum install -y python38 python38-devel && \ yum clean all && \ ln -s /usr/bin/python3.8 /usr/bin/python3 && \ ln -s /usr/bin/pip3.8 /usr/bin/pip3 && \ diff --git a/build-image-src/Dockerfile-java11 b/build-image-src/Dockerfile-java11 index 4987559..4f53d1b 100644 --- a/build-image-src/Dockerfile-java11 +++ b/build-image-src/Dockerfile-java11 @@ -24,7 +24,7 @@ RUN yum groupinstall -y development && \ # https://aws.amazon.com/amazon-linux-2/faqs/#Amazon_Linux_Extras RUN amazon-linux-extras enable python3.8 && \ yum clean metadata && \ - yum install -y python3.8 python3.8-devel && \ + yum install -y python38 python38-devel && \ yum clean all && \ ln -s /usr/bin/python3.8 /usr/bin/python3 && \ ln -s /usr/bin/pip3.8 /usr/bin/pip3 && \ diff --git a/build-image-src/Dockerfile-java17 b/build-image-src/Dockerfile-java17 index 7ab6096..8620823 100644 --- a/build-image-src/Dockerfile-java17 +++ b/build-image-src/Dockerfile-java17 @@ -24,7 +24,7 @@ RUN yum groupinstall -y development && \ # https://aws.amazon.com/amazon-linux-2/faqs/#Amazon_Linux_Extras RUN amazon-linux-extras enable python3.8 && \ yum clean metadata && \ - yum install -y python3.8 python3.8-devel && \ + yum install -y python38 python38-devel && \ yum clean all && \ ln -s /usr/bin/python3.8 /usr/bin/python3 && \ ln -s /usr/bin/pip3.8 /usr/bin/pip3 && \ diff --git a/build-image-src/Dockerfile-java8_al2 b/build-image-src/Dockerfile-java8_al2 index 9432a87..c19d485 100644 --- a/build-image-src/Dockerfile-java8_al2 +++ b/build-image-src/Dockerfile-java8_al2 @@ -27,7 +27,7 @@ RUN yum groupinstall -y development && \ # https://aws.amazon.com/amazon-linux-2/faqs/#Amazon_Linux_Extras RUN amazon-linux-extras enable python3.8 && \ yum clean metadata && \ - yum install -y python3.8 python3.8-devel && \ + yum install -y python38 python38-devel && \ yum clean all && \ ln -s /usr/bin/python3.8 /usr/bin/python3 && \ ln -s /usr/bin/pip3.8 /usr/bin/pip3 && \ diff --git a/build-image-src/Dockerfile-nodejs12x b/build-image-src/Dockerfile-nodejs12x index 87ef4d5..845fe53 100644 --- a/build-image-src/Dockerfile-nodejs12x +++ b/build-image-src/Dockerfile-nodejs12x @@ -27,7 +27,10 @@ RUN yum groupinstall -y development && \ # Install extras so that Python 3.8 is installable # https://aws.amazon.com/amazon-linux-2/faqs/#Amazon_Linux_Extras -RUN amazon-linux-extras install -y python3.8 && \ +RUN amazon-linux-extras enable python3.8 && \ + yum clean metadata && \ + yum install -y python38 python38-devel && \ + yum clean all && \ ln -s /usr/bin/python3.8 /usr/bin/python3 && \ ln -s /usr/bin/pip3.8 /usr/bin/pip3 && \ python3 --version && \ diff --git a/build-image-src/Dockerfile-nodejs16x b/build-image-src/Dockerfile-nodejs16x index 7a86326..262f62a 100644 --- a/build-image-src/Dockerfile-nodejs16x +++ b/build-image-src/Dockerfile-nodejs16x @@ -29,7 +29,7 @@ RUN yum groupinstall -y development && \ # https://aws.amazon.com/amazon-linux-2/faqs/#Amazon_Linux_Extras RUN amazon-linux-extras enable python3.8 && \ yum clean metadata && \ - yum install -y python3.8 python3.8-devel && \ + yum install -y python38 python38-devel && \ yum clean all && \ ln -s /usr/bin/python3.8 /usr/bin/python3 && \ ln -s /usr/bin/pip3.8 /usr/bin/pip3 && \ diff --git a/build-image-src/Dockerfile-nodejs18x b/build-image-src/Dockerfile-nodejs18x index 6f1063e..df6b603 100644 --- a/build-image-src/Dockerfile-nodejs18x +++ b/build-image-src/Dockerfile-nodejs18x @@ -29,7 +29,7 @@ RUN yum groupinstall -y development && \ # https://aws.amazon.com/amazon-linux-2/faqs/#Amazon_Linux_Extras RUN amazon-linux-extras enable python3.8 && \ yum clean metadata && \ - yum install -y python3.8 python3.8-devel && \ + yum install -y python38 python38-devel && \ yum clean all && \ ln -s /usr/bin/python3.8 /usr/bin/python3 && \ ln -s /usr/bin/pip3.8 /usr/bin/pip3 && \ diff --git a/build-image-src/Dockerfile-provided_al2 b/build-image-src/Dockerfile-provided_al2 index 3543d08..4973ae6 100644 --- a/build-image-src/Dockerfile-provided_al2 +++ b/build-image-src/Dockerfile-provided_al2 @@ -26,7 +26,7 @@ RUN yum groupinstall -y development && \ # https://aws.amazon.com/amazon-linux-2/faqs/#Amazon_Linux_Extras RUN amazon-linux-extras enable python3.8 && \ yum clean metadata && \ - yum install -y python3.8 python3.8-devel && \ + yum install -y python38 python38-devel && \ yum clean all && \ ln -s /usr/bin/python3.8 /usr/bin/python3 && \ ln -s /usr/bin/pip3.8 /usr/bin/pip3 && \ diff --git a/build-image-src/Dockerfile-ruby27 b/build-image-src/Dockerfile-ruby27 index d54c813..6b8497e 100644 --- a/build-image-src/Dockerfile-ruby27 +++ b/build-image-src/Dockerfile-ruby27 @@ -24,7 +24,7 @@ RUN yum groupinstall -y development && \ # https://aws.amazon.com/amazon-linux-2/faqs/#Amazon_Linux_Extras RUN amazon-linux-extras enable python3.8 && \ yum clean metadata && \ - yum install -y python3.8 python3.8-devel && \ + yum install -y python38 python38-devel && \ yum clean all && \ ln -s /usr/bin/python3.8 /usr/bin/python3 && \ ln -s /usr/bin/pip3.8 /usr/bin/pip3 && \ diff --git a/build-image-src/Dockerfile-ruby32 b/build-image-src/Dockerfile-ruby32 index e14b0d7..bcebe8e 100644 --- a/build-image-src/Dockerfile-ruby32 +++ b/build-image-src/Dockerfile-ruby32 @@ -24,7 +24,7 @@ RUN yum groupinstall -y development && \ # https://aws.amazon.com/amazon-linux-2/faqs/#Amazon_Linux_Extras RUN amazon-linux-extras enable python3.8 && \ yum clean metadata && \ - yum install -y python3.8 python3.8-devel && \ + yum install -y python38 python38-devel && \ yum clean all && \ ln -s /usr/bin/python3.8 /usr/bin/python3 && \ ln -s /usr/bin/pip3.8 /usr/bin/pip3 && \