Skip to content

Commit

Permalink
fix: disable SSL verification on arm64 as a workaround (#3379)
Browse files Browse the repository at this point in the history
  • Loading branch information
hassy authored Oct 18, 2024
1 parent 96a31a9 commit e6063d6
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 wget https://aka.ms/InstallAzureCLIDeb && bash InstallAzureCLIDeb

ARG WORKER_VERSION
Expand Down

0 comments on commit e6063d6

Please sign in to comment.