Skip to content

Commit affe9c7

Browse files
Remove unused ddtrace appsec packages (#761)
* Remove unused ddtrace appsec packages Remove additional ddtrace appsec packages from site-packages. * Update Dockerfile Co-authored-by: Brett Langdon <brett.langdon@datadoghq.com> --------- Co-authored-by: Brett Langdon <brett.langdon@datadoghq.com>
1 parent 2c57e69 commit affe9c7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,13 @@ RUN pip install --no-cache-dir . -t ./python/lib/$runtime/site-packages
3333
RUN rm -rf ./python/lib/$runtime/site-packages/botocore*
3434
RUN rm -rf ./python/lib/$runtime/site-packages/setuptools
3535
RUN rm -rf ./python/lib/$runtime/site-packages/jsonschema/tests
36-
RUN rm -rf ./python/lib/$runtime/site-packages/ddtrace/appsec/_iast
36+
37+
# Remove unsupported appsec modules
38+
RUN rm -rf \
39+
./python/lib/$runtime/site-packages/ddtrace/appsec/_iast \
40+
./python/lib/$runtime/site-packages/ddtrace/appsec/sca \
41+
./python/lib/$runtime/site-packages/ddtrace/appsec/_shared
42+
3743
# CI Visibility paths/integrations
3844
RUN rm -rf \
3945
./python/lib/$runtime/site-packages/ddtrace/contrib/coverage/ \

0 commit comments

Comments
 (0)