artilleryio / artillery

The complete load testing platform. Everything you need for production-grade load tests. Serverless & distributed. Load test with Playwright. Load test HTTP APIs, GraphQL, WebSocket, and more. Use any Node.js module.
https://www.artillery.io
Mozilla Public License 2.0
7.95k stars 507 forks source link

Docker image ARM version #2532

Open oliver-jenny opened 7 months ago

oliver-jenny commented 7 months ago

Description:

The current artilleryio/artillery Docker image only supports linux/amd64 architecture, making it incompatible with macOS systems.

Steps to Reproduce:

Expected Behavior:

An AMD-based version of the Docker image should be provided to support macOS systems seamlessly.

Impact:

hassy commented 7 months ago

Hi @oliver-jenny 👋 An ARM version is something we'll add. Just curious - is there a particular reason you prefer running Artillery in Docker vs installing it directly with npm?

oliver-jenny commented 7 months ago

Hi @hassy Thanks for the quick response! No particular reason, but we handle quite a few things via Docker images. In a large team, it's sometimes better to maintain consistency rather than doing things in a different way randomly.

polarnik commented 4 months ago

Hey, I'm using similar Dockerfile:

FROM mcr.microsoft.com/playwright:v1.44.1

RUN npm install -g artillery
RUN npm cache clean --force && rm -rf /root/.cache

ENTRYPOINT ["/usr/bin/artillery"]

The microsoft team supports playwright containers for all platforms. The artillery uses playwright. It means we can use playwright as a base image and add the artillery