Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

fix(python): remove jmespath dependency #8

Merged
merged 1 commit into from
Oct 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions layer/Python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ RUN cd /asset && \
# remove boto3 and botocore (already available in Lambda Runtime)
rm -rf python/boto* && \
# remove boto3 dependencies
rm -rf python/s3transfer* python/*dateutil* python/urllib3* python/six* && \
rm -rf python/s3transfer* python/*dateutil* python/urllib3* python/six* python/jmespath* && \
# remove debugging symbols
find python -name '*.so' -type f -exec strip "{}" \; && \
# remove tests
find python -wholename "*/tests/*" -type f -delete && \
# remove python bytecode
find python -regex '^.*\(__pycache__\|\.py[co]\)$' -delete
find python -regex '^.*\(__pycache__\|\.py[co]\)$' -delete