From e26f83b7a5f02d5cca44df7b68be5701468b9674 Mon Sep 17 00:00:00 2001 From: Ranko Orlic Date: Thu, 28 Mar 2024 09:39:10 +0100 Subject: [PATCH] chore: set jmeter temp folder for report generation --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 164138c..2403c97 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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