File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 version :
88 description : " Version of ArcGIS API for Python to install in the image"
99 type : string
10- default : " 2.2 .0"
10+ default : " 2.3 .0"
1111 python_version :
1212 description : " Python version to base image on"
1313 type : string
14- default : " 3.9 "
14+ default : " 3.11 "
1515 is_latest_release :
1616 description : " Version of ArcGIS API for Python is Latest current release"
1717 type : boolean
Original file line number Diff line number Diff line change 1- ARG python_version=3.9
2- # lambda python image, defaults to python 3.9
1+ ARG python_version=3.11
2+ # lambda python image, defaults to python 3.11
33FROM public.ecr.aws/lambda/python:${python_version}
44
55# set metadata
@@ -9,9 +9,10 @@ LABEL org.opencontainers.image.licenses=Apache
99LABEL org.opencontainers.image.source=https://github.com/esri/arcgis-python-api
1010
1111# install dependencies, then clean yum cache
12- RUN yum -y install gcc krb5-devel krb5-server krb5-libs && yum clean all && rm -rf /var/cache/yum
12+ RUN yum -y install gcc gcc-c++ krb5-devel krb5-server krb5-libs && yum clean all && rm -rf /var/cache/yum
1313# install arcgis
14- ARG arcgis_version="2.2.0"
14+ ARG arcgis_version="2.3.0"
15+ # adding .* ensures the latest patch version is installed
1516RUN pip3 install "arcgis==${arcgis_version}.*" --target "${LAMBDA_TASK_ROOT}"
1617# set entrypoint to app.py handler method
1718# (note that app.py is missing from this base image)
You can’t perform that action at this time.
0 commit comments