Skip to content

Commit 7ba9028

Browse files
committed
comment
1 parent aa1cbe7 commit 7ba9028

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ RUN curl https://sh.rustup.rs -sSf | \
2222
sh -s -- --default-toolchain stable -y
2323
ENV PATH=/root/.cargo/bin:$PATH
2424

25+
# Compile mode is explicitly set here to strip the debug symbols from the
26+
# native extensions in dd-trace-py. Otherwise, they will have debug symbols
27+
# by default when built from sources. PyPI packages are stripped off of debug
28+
# symbols. This is mainly to reduce the layer size at the cost of debuggability
2529
ENV DD_COMPILE_MODE=Release
2630

2731
# Install datadog_lambda and dependencies from local

0 commit comments

Comments
 (0)