Skip to content

Commit b168ad4

Browse files
committed
Add PYTHONNODEBUGRANGES=1 to compile step.
1 parent 5483cd3 commit b168ad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN rm ./python/lib/$runtime/site-packages/ddtrace/internal/datadog/profiling/li
2424
RUN rm ./python/lib/$runtime/site-packages/ddtrace/internal/datadog/profiling/ddup/_ddup.*.so
2525
RUN rm ./python/lib/$runtime/site-packages/ddtrace/internal/datadog/profiling/stack_v2/_stack_v2.*.so
2626

27-
RUN python -m compileall -o 2 -b ./python/lib/$runtime/site-packages
27+
RUN PYTHONNODEBUGRANGES=1 python -m compileall -o 2 -b ./python/lib/$runtime/site-packages
2828
RUN find ./python/lib/$runtime/site-packages -name \*.py -delete
2929
RUN find ./python/lib/$runtime/site-packages -name __pycache__ -type d -exec rm -r {} \+
3030

0 commit comments

Comments
 (0)