Skip to content

Commit 4c65d45

Browse files
committed
chore(build): build dd-trace-py with release mode by default
1 parent 3b5260d commit 4c65d45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

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

25+
ENV DD_COMPILE_MODE="Release"
26+
2527
# Install datadog_lambda and dependencies from local
2628
COPY . .
2729
RUN pip install --no-cache-dir . -t ./python/lib/$runtime/site-packages

0 commit comments

Comments
 (0)