diff --git a/local_tests/bottlecap/Dockerfile b/local_tests/bottlecap/Dockerfile index 55a5c21c4..3cee170bc 100644 --- a/local_tests/bottlecap/Dockerfile +++ b/local_tests/bottlecap/Dockerfile @@ -32,8 +32,9 @@ RUN curl https://sh.rustup.rs -sSf | bash -s -- -y ENV PATH=/root/.cargo/bin:$PATH -# The first path is where the custom RIE lives. -COPY local_tests/rie/${TARGET}/arm64/rie /usr/local/bin/aws-lambda-rie +# Download the AWS Lambda Runtime Interface Emulator from GitHub releases +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 \ + && chmod +x /usr/local/bin/aws-lambda-rie # The first path is the location of your local agent binary COPY .binaries/bottlecap-arm64 /opt/extensions/datadog-agent diff --git a/local_tests/rie/bottlecap/arm64/rie b/local_tests/rie/bottlecap/arm64/rie deleted file mode 100755 index b9d7f4c62..000000000 Binary files a/local_tests/rie/bottlecap/arm64/rie and /dev/null differ diff --git a/local_tests/rie/bottlecap/x86/rie b/local_tests/rie/bottlecap/x86/rie deleted file mode 100755 index 2d6c7b83f..000000000 Binary files a/local_tests/rie/bottlecap/x86/rie and /dev/null differ