Skip to content

Commit b328106

Browse files
chore: [SVLS-5677] handy to have rust in our test container when building dd-trace-py from source
1 parent e0e639c commit b328106

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ FROM python:$python_version
33

44
ENV PYTHONDONTWRITEBYTECODE True
55

6+
# Add Rust compiler which is needed to build dd-trace-py from source
7+
RUN curl https://sh.rustup.rs -sSf | \
8+
sh -s -- --default-toolchain stable -y
9+
ENV PATH=/root/.cargo/bin:$PATH
10+
611
RUN mkdir -p /test/datadog_lambda
712
WORKDIR /test
813

0 commit comments

Comments
 (0)