Skip to content

Commit 1e7824a

Browse files
refactor(local-tests): fetch AWS Lambda RIE from GitHub releases
1 parent 33d7e7b commit 1e7824a

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

local_tests/managed-instance/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
3333
ENV PATH=/root/.cargo/bin:$PATH
3434

3535

36-
# The first path is where the custom RIE lives.
37-
COPY local_tests/rie/${TARGET}/arm64/rie /usr/local/bin/aws-lambda-rie
36+
# Download the AWS Lambda Runtime Interface Emulator from GitHub releases
37+
RUN curl -Lo /usr/local/bin/aws-lambda-rie https://github.com/aws/aws-lambda-runtime-interface-emulator/releases/latest/download/aws-lambda-rie-arm64 \
38+
&& chmod +x /usr/local/bin/aws-lambda-rie
3839

3940
# The first path is the location of your local agent binary
4041
COPY .binaries/bottlecap-arm64 /opt/extensions/datadog-agent
-7.94 MB
Binary file not shown.
-8.56 MB
Binary file not shown.

0 commit comments

Comments
 (0)