Skip to content

Commit 7f46931

Browse files
Update Dockerfile
Co-authored-by: Brett Langdon <brett.langdon@datadoghq.com>
1 parent 86c04d2 commit 7f46931

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ 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
37-
RUN rm -rf ./python/lib/$runtime/site-packages/ddtrace/appsec/sca
38-
RUN rm -rf ./python/lib/$runtime/site-packages/ddtrace/appsec/_shared
39-
RUN rm -rf ./python/lib/$runtime/site-packages/ddtrace/internal/test_visibility
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
4042

4143
# CI Visibility paths/integrations
4244
RUN rm -rf \

0 commit comments

Comments
 (0)