diff --git a/packages/artillery/lib/platform/aws-ecs/worker/Dockerfile b/packages/artillery/lib/platform/aws-ecs/worker/Dockerfile index a48a5988f3..f23b6bad10 100644 --- a/packages/artillery/lib/platform/aws-ecs/worker/Dockerfile +++ b/packages/artillery/lib/platform/aws-ecs/worker/Dockerfile @@ -4,6 +4,8 @@ # ******************************** FROM mcr.microsoft.com/playwright:v1.48.0 +ARG TARGETARCH + ENV DEBIAN_FRONTEND=noninteractive # Install aws-lambda-ric build dependencies @@ -17,6 +19,15 @@ RUN apt-get update && apt-get install -y \ libtool \ python3-pip && pip3 install awscli --break-system-packages +RUN <> ~/.curlrc +if [ "$TARGETARCH" = "arm64" ]; then +# Temporal fix for SSL_ERROR_SYSCALL error on arm64 +# see: https://github.com/curl/curl/issues/14154 +echo 'insecure' >> ~/.curlrc +fi +EOT + RUN wget https://aka.ms/InstallAzureCLIDeb && bash InstallAzureCLIDeb ARG WORKER_VERSION