File tree 1 file changed +3
-7
lines changed
tests/integration/testdata/buildcmd/terraform/build_image_docker
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
2
2
3
3
RUN 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 \
7
5
&& rm -rf /var/cache/yum
8
6
9
7
RUN yum -y install make \
@@ -15,11 +13,9 @@ RUN yum install -y yum-utils \
15
13
&& terraform --version
16
14
17
15
# 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
20
17
RUN curl -L get-pip.io | python3.9
21
18
RUN pip3 install aws-lambda-builders
22
- RUN ln -s /usr/bin/python3.9 /usr/bin/python3
23
19
RUN python3 --version
24
20
25
21
VOLUME /project
You can’t perform that action at this time.
0 commit comments