Skip to content

Commit

Permalink
Merge pull request #1813 from Esri/JR/lambda-docker
Browse files Browse the repository at this point in the history
remove pip caches from image
  • Loading branch information
achapkowski authored Apr 24, 2024
2 parents ef4571f + 31139d5 commit fa3152e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/LambdaBaseImage.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN yum -y install gcc gcc-c++ krb5-devel krb5-server krb5-libs && yum clean all
# install arcgis
ARG arcgis_version="2.3.0"
# adding .* ensures the latest patch version is installed
RUN pip3 install "arcgis==${arcgis_version}.*" --target "${LAMBDA_TASK_ROOT}"
RUN pip3 install "arcgis==${arcgis_version}.*" --target "${LAMBDA_TASK_ROOT}" && rm -rf /root/.cache/pip
# set entrypoint to app.py handler method
# (note that app.py is missing from this base image)
CMD [ "app.handler" ]
Expand Down

0 comments on commit fa3152e

Please sign in to comment.