Skip to content

Commit b32813d

Browse files
authored
feat: Fix comments in dockerfile (#385)
1 parent 5ffdc80 commit b32813d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ RUN pip install . -t ./python/lib/$runtime/site-packages
1414
# Remove *.pyc files
1515
RUN 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
1919
RUN 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.
2123
RUN rm -rf ./python/lib/$runtime/site-packages/botocore*
2224
RUN rm -rf ./python/lib/$runtime/site-packages/setuptools
2325
RUN rm -rf ./python/lib/$runtime/site-packages/jsonschema/tests

0 commit comments

Comments
 (0)