File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,12 @@ RUN pip install . -t ./python/lib/$runtime/site-packages
14
14
# Remove *.pyc files
15
15
RUN find ./python/lib/$runtime/site-packages -name \* .pyc -delete
16
16
17
- # Remove botocore (40MB) to reduce package size. aws-xray-sdk
18
- # installs it, while it's already provided by the Lambda Runtime.
17
+ # Strip symbols from ddtrace's binaries.
18
+ # TODO (AJ): remove when ddtrace fixes this upstream
19
19
RUN find . -name '*.so' -exec strip -g {} \;
20
20
21
+ # Remove botocore (40MB) to reduce package size. aws-xray-sdk
22
+ # installs it, while it's already provided by the Lambda Runtime.
21
23
RUN rm -rf ./python/lib/$runtime/site-packages/botocore*
22
24
RUN rm -rf ./python/lib/$runtime/site-packages/setuptools
23
25
RUN rm -rf ./python/lib/$runtime/site-packages/jsonschema/tests
You can’t perform that action at this time.
0 commit comments