File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
tests/integration/testdata/buildcmd/terraform/build_image_docker Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 1- FROM public.ecr.aws/amazonlinux/amazonlinux:2
1+ FROM public.ecr.aws/amazonlinux/amazonlinux:2023
22
33RUN yum -y update \
4- && yum install -y unzip tar gzip bzip2-devel ed gcc gcc-c++ gcc-gfortran \
5- less libcurl-devel openssl openssl-devel readline-devel xz-devel \
6- zlib-devel glibc-static libcxx libcxx-devel llvm-toolset-7 zlib-static \
4+ && yum install -y unzip tar gzip ed less \
75 && rm -rf /var/cache/yum
86
97RUN yum -y install make \
@@ -15,11 +13,9 @@ RUN yum install -y yum-utils \
1513 && terraform --version
1614
1715# AWS Lambda Builders
18- RUN amazon-linux-extras enable python3.9
19- RUN yum clean metadata && yum -y install python3.9
16+ # AL2023 uses Python3.9 by default. This might fail in the future if that changes. We just need the proper version
2017RUN curl -L get-pip.io | python3.9
2118RUN pip3 install aws-lambda-builders
22- RUN ln -s /usr/bin/python3.9 /usr/bin/python3
2319RUN python3 --version
2420
2521VOLUME /project
You can’t perform that action at this time.
0 commit comments