We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07df11a commit 6f06143Copy full SHA for 6f06143
Dockerfile
@@ -22,12 +22,9 @@ RUN curl https://sh.rustup.rs -sSf | \
22
sh -s -- --default-toolchain stable -y
23
ENV PATH=/root/.cargo/bin:$PATH
24
25
-ENV DD_COMPILE_MODE=Release
26
-RUN echo "DD_COMPILE_MODE=$DD_COMPILE_MODE"
27
-
28
# Install datadog_lambda and dependencies from local
29
COPY . .
30
-RUN pip install --no-cache-dir . -t ./python/lib/$runtime/site-packages
+RUN DD_COMPILE_MODE=Release pip install --no-cache-dir . -t ./python/lib/$runtime/site-packages
31
32
# Remove botocore (40MB) to reduce package size. aws-xray-sdk
33
# installs it, while it's already provided by the Lambda Runtime.
0 commit comments