From ec629b8dbc1888f93a5c72a0b11c1bbff1c29be2 Mon Sep 17 00:00:00 2001 From: AJ Stuyvenberg Date: Tue, 5 Mar 2024 11:30:22 -0500 Subject: [PATCH 1/3] feat: Rip out appsec --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index a2da16f9..0ab18824 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,7 @@ RUN find . -name '*.so' -exec strip -g {} \; RUN rm -rf ./python/lib/$runtime/site-packages/botocore* RUN rm -rf ./python/lib/$runtime/site-packages/setuptools RUN rm -rf ./python/lib/$runtime/site-packages/jsonschema/tests +RUN rm -rf ./python/lib/$runtime/site-packages/ddtrace/appsec/ FROM scratch COPY --from=builder /build/python / From 5d16e2328dcc8fb1939fd2246adc558465c0da2d Mon Sep 17 00:00:00 2001 From: AJ Stuyvenberg Date: Tue, 5 Mar 2024 12:07:59 -0500 Subject: [PATCH 2/3] feat: Remove more appsec stuff --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0ab18824..757d0c00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,9 @@ RUN find . -name '*.so' -exec strip -g {} \; RUN rm -rf ./python/lib/$runtime/site-packages/botocore* RUN rm -rf ./python/lib/$runtime/site-packages/setuptools RUN rm -rf ./python/lib/$runtime/site-packages/jsonschema/tests -RUN rm -rf ./python/lib/$runtime/site-packages/ddtrace/appsec/ +RUN find . -name 'libddwaf.so' -delete +RUN rm ./python/lib/$runtime/site-packages/ddtrace/appsec/_iast/_taint_tracking/*.so +RUN rm ./python/lib/$runtime/site-packages/ddtrace/appsec/_iast/_stacktrace*.so FROM scratch COPY --from=builder /build/python / From 932349d9d0747454da190a6a75a75a4641a69583 Mon Sep 17 00:00:00 2001 From: AJ Stuyvenberg Date: Tue, 5 Mar 2024 12:41:11 -0500 Subject: [PATCH 3/3] empty commit to trigger ci