File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 7
7
version :
8
8
description : " Version of ArcGIS API for Python to install in the image"
9
9
type : string
10
- default : " 2.2 .0"
10
+ default : " 2.3 .0"
11
11
python_version :
12
12
description : " Python version to base image on"
13
13
type : string
14
- default : " 3.9 "
14
+ default : " 3.11 "
15
15
is_latest_release :
16
16
description : " Version of ArcGIS API for Python is Latest current release"
17
17
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
3
3
FROM public.ecr.aws/lambda/python:${python_version}
4
4
5
5
# set metadata
@@ -9,9 +9,10 @@ LABEL org.opencontainers.image.licenses=Apache
9
9
LABEL org.opencontainers.image.source=https://github.com/esri/arcgis-python-api
10
10
11
11
# 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
13
13
# 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
15
16
RUN pip3 install "arcgis==${arcgis_version}.*" --target "${LAMBDA_TASK_ROOT}"
16
17
# set entrypoint to app.py handler method
17
18
# (note that app.py is missing from this base image)
You can’t perform that action at this time.
0 commit comments