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
1414#  Remove *.pyc files
1515RUN  find ./python/lib/$runtime/site-packages -name \* .pyc -delete
1616
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 
1919RUN  find . -name '*.so'  -exec strip -g {} \; 
2020
21+ #  Remove botocore (40MB) to reduce package size. aws-xray-sdk
22+ #  installs it, while it's already provided by the Lambda Runtime.
2123RUN  rm -rf ./python/lib/$runtime/site-packages/botocore*
2224RUN  rm -rf ./python/lib/$runtime/site-packages/setuptools
2325RUN  rm -rf ./python/lib/$runtime/site-packages/jsonschema/tests
                         You can’t perform that action at this time. 
           
                  
0 commit comments