Skip to content

Commit

Permalink
chore: set jmeter temp folder for report generation
Browse files Browse the repository at this point in the history
  • Loading branch information
rorlic committed Mar 28, 2024
1 parent 7c32d46 commit e26f83b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ RUN tar -xvzf apache-jmeter-${JMETER_TAG}.tgz && rm apache-jmeter-${JMETER_TAG}.
RUN ln -s apache-jmeter-${JMETER_TAG} apache-jmeter
ENV JMETER_HOME=/home/node/apache-jmeter
ENV PATH=${JMETER_HOME}/bin:$PATH
# set jmeter temp folder for report generation
RUN mkdir /tmp/jmeter
RUN chmod 0777 /tmp/jmeter
RUN chown node:node /tmp/jmeter
RUN echo "jmeter.reportgenerator.temp_dir=/tmp/jmeter" >> user.properties
# run as node
RUN chown node:node -R /home/node/*
WORKDIR /home/node/jmeter-runner
Expand Down

0 comments on commit e26f83b

Please sign in to comment.