File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ RUN find ./python/lib/$runtime/site-packages/ddtrace -name \*.pyx -delete
7777# reduce the size when ddtrace is built from sources. The release wheels are
7878# already stripped of debug symbols. We should revisit this when serverless
7979# benchmark uses pre-built wheels instead of building from sources.
80- RUN find ./python/lib/$runtime/site-packages -name "*.so" -exec strip -g {} \;
80+ RUN find ./python/lib/$runtime/site-packages -name "*.so" -exec strip --strip-unneeded {} \;
8181# RUN find ./python/lib/$runtime/site-packages/ddtrace -name "*.so" -exec strip -g {} \;
8282
8383FROM scratch
Original file line number Diff line number Diff line change 11layer_arn=$(
22aws-vault exec sso-serverless-sandbox-account-admin -- \
3- aws lambda publish-layer-version --layer-name " Python312-discard-all -rithika" \
3+ aws lambda publish-layer-version --layer-name " Python312-strip-debug -rithika" \
44 --description " Datadog Tracer Lambda Layer for Python" \
5- --zip-file " fileb://./discard-all .zip" \
5+ --zip-file " fileb://./.layers/datadog_lambda_py-arm64-3.12 .zip" \
66 --region " us-west-2" \
77 --output json \
88 | jq -r ' .LayerVersionArn' )
You can’t perform that action at this time.
0 commit comments