From 1f8e71da614b233efc2af36b2e5225647bc7c572 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 0b7c3b860c..1cfa829c72 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 curl -sL https://aka.ms/InstallAzureCLIDeb | bash ARG WORKER_VERSION