We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ffdc80 commit b32813dCopy full SHA for b32813d
Dockerfile
@@ -14,10 +14,12 @@ RUN pip install . -t ./python/lib/$runtime/site-packages
14
# Remove *.pyc files
15
RUN find ./python/lib/$runtime/site-packages -name \*.pyc -delete
16
17
-# Remove botocore (40MB) to reduce package size. aws-xray-sdk
18
-# installs it, while it's already provided by the Lambda Runtime.
+# Strip symbols from ddtrace's binaries.
+# TODO (AJ): remove when ddtrace fixes this upstream
19
RUN find . -name '*.so' -exec strip -g {} \;
20
21
+# Remove botocore (40MB) to reduce package size. aws-xray-sdk
22
+# installs it, while it's already provided by the Lambda Runtime.
23
RUN rm -rf ./python/lib/$runtime/site-packages/botocore*
24
RUN rm -rf ./python/lib/$runtime/site-packages/setuptools
25
RUN rm -rf ./python/lib/$runtime/site-packages/jsonschema/tests
0 commit comments