Skip to content

Commit

Permalink
fix: disable SSL verification on arm64 as a workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
hassy committed Oct 18, 2024
1 parent c34f4e2 commit 1f8e71d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/artillery/lib/platform/aws-ecs/worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# ********************************
FROM mcr.microsoft.com/playwright:v1.48.0

ARG TARGETARCH

ENV DEBIAN_FRONTEND=noninteractive

# Install aws-lambda-ric build dependencies
Expand All @@ -17,6 +19,15 @@ RUN apt-get update && apt-get install -y \
libtool \
python3-pip && pip3 install awscli --break-system-packages

RUN <<EOT
echo 'ipv4' >> ~/.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
Expand Down

0 comments on commit 1f8e71d

Please sign in to comment.