From e6063d6c76d5fa53c6ed483347c42b1e550cd0cc Mon Sep 17 00:00:00 2001 From: Hassy Veldstra Date: Fri, 18 Oct 2024 13:30:35 +0100 Subject: [PATCH] fix: disable SSL verification on arm64 as a workaround (#3379) --- .../artillery/lib/platform/aws-ecs/worker/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) 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