Skip to content

Commit 6f06143

Browse files
committed
try setting here
1 parent 07df11a commit 6f06143

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,9 @@ 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-
RUN echo "DD_COMPILE_MODE=$DD_COMPILE_MODE"
27-
2825
# Install datadog_lambda and dependencies from local
2926
COPY . .
30-
RUN pip install --no-cache-dir . -t ./python/lib/$runtime/site-packages
27+
RUN DD_COMPILE_MODE=Release pip install --no-cache-dir . -t ./python/lib/$runtime/site-packages
3128

3229
# Remove botocore (40MB) to reduce package size. aws-xray-sdk
3330
# installs it, while it's already provided by the Lambda Runtime.

0 commit comments

Comments
 (0)