Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions performance/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
############################
# Artillery.io load tester #
############################
FROM node:14-alpine
FROM artilleryio/artillery:2.0.21
ARG http_proxy
ARG https_proxy
ARG no_proxy
Expand All @@ -13,16 +13,5 @@ WORKDIR /artillery

VOLUME /artillery/reports/

# use proxy & private npm registry
RUN if [ ! -z "$http_proxy" ] ; then \
npm config delete proxy; \
npm config set proxy $http_proxy; \
npm config set https-proxy $https_proxy; \
npm config set no-proxy $no_proxy; \
fi ; \
[ -z "$npm_registry" ] || npm config set registry=$npm_registry

RUN npm install -g artillery@1.6.0-2
ENV PERF_MAX_USERS=40
ENTRYPOINT [ "artillery" ]
CMD ["run -e development", "-o reports/report.json", "scenario.yml"]
Loading