From 8e79582bdb204264c73c9b928e4c64482056cc39 Mon Sep 17 00:00:00 2001 From: hveldstra Date: Fri, 18 Oct 2024 12:59:42 +0100 Subject: [PATCH] fix: disable SSL verification on arm64 as a workaround --- .../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