Dockerize locust and tweak script for configurability

This commit is contained in:
tomdds
2019-11-14 11:53:32 -05:00
parent 217a3bce09
commit d1ef106ea3
2 changed files with 17 additions and 5 deletions

7
load-test/Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM locustio/locust
USER root
RUN apk update && apk --no-cache add g++ gcc libxslt-dev
RUN pip install pyquery
USER locust
ADD locustfile.py locustfile.py