Skip to content

Commit 31139d5

Browse files
committed
remove pip caches from image
1 parent ef4571f commit 31139d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/LambdaBaseImage.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN yum -y install gcc gcc-c++ krb5-devel krb5-server krb5-libs && yum clean all
1313
# install arcgis
1414
ARG arcgis_version="2.3.0"
1515
# adding .* ensures the latest patch version is installed
16-
RUN pip3 install "arcgis==${arcgis_version}.*" --target "${LAMBDA_TASK_ROOT}"
16+
RUN pip3 install "arcgis==${arcgis_version}.*" --target "${LAMBDA_TASK_ROOT}" && rm -rf /root/.cache/pip
1717
# set entrypoint to app.py handler method
1818
# (note that app.py is missing from this base image)
1919
CMD [ "app.handler" ]

0 commit comments

Comments
 (0)