Skip to content

Commit f80f83f

Browse files
authored
Remove unneeded .dist-info files. (#478)
1 parent 6483fff commit f80f83f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ RUN rm ./python/lib/$runtime/site-packages/ddtrace/appsec/_iast/_stacktrace*.so
2626
RUN rm ./python/lib/$runtime/site-packages/ddtrace/internal/datadog/profiling/libdd_wrapper.so
2727
RUN rm ./python/lib/$runtime/site-packages/ddtrace/internal/datadog/profiling/ddup/_ddup.*.so
2828
RUN rm ./python/lib/$runtime/site-packages/ddtrace/internal/datadog/profiling/stack_v2/_stack_v2.*.so
29+
RUN find . -name "*.dist-info" -type d | xargs rm -rf
30+
2931

3032
FROM scratch
3133
COPY --from=builder /build/python /

0 commit comments

Comments
 (0)