Skip to content

Commit 7184daf

Browse files
authored
Re-remove more iast .so files (#653)
* Re-remove more iast .so files * itr:noskip * Update MAX_LAYER_UNCOMPRESSED_SIZE_KB value
1 parent 33fcbce commit 7184daf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ RUN pip install --no-cache-dir . -t ./python/lib/$runtime/site-packages
3131
RUN rm -rf ./python/lib/$runtime/site-packages/botocore*
3232
RUN rm -rf ./python/lib/$runtime/site-packages/setuptools
3333
RUN rm -rf ./python/lib/$runtime/site-packages/jsonschema/tests
34+
RUN rm -f ./python/lib/$runtime/site-packages/ddtrace/appsec/_iast/_ast/iastpatch*.so
3435
RUN rm -f ./python/lib/$runtime/site-packages/ddtrace/appsec/_iast/_taint_tracking/*.so
3536
RUN rm -f ./python/lib/$runtime/site-packages/ddtrace/appsec/_iast/_stacktrace*.so
3637
# _stack_v2 may not exist for some versions of ddtrace (e.g. under python 3.13)

scripts/check_layer_size.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
set -e
1111
MAX_LAYER_COMPRESSED_SIZE_KB=$(expr 17 \* 1024 / 2) # 8704 KB
12-
MAX_LAYER_UNCOMPRESSED_SIZE_KB=$(expr 23 \* 1024) # 23552 KB
12+
MAX_LAYER_UNCOMPRESSED_SIZE_KB=$(expr 22 \* 1024) # 22528 KB
1313

1414

1515
LAYER_FILES_PREFIX="datadog_lambda_py"

0 commit comments

Comments
 (0)