forked from vemulaanvesh/disrubuted_load_test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile-base
35 lines (24 loc) · 1.99 KB
/
Dockerfile-base
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM openjdk:8-jdk-slim
MAINTAINER Hums
ARG JMETER_VERSION=5.2.1
RUN apt-get clean && \
apt-get update && \
apt-get -qy install \
wget \
telnet \
iputils-ping \
unzip
RUN mkdir /jmeter \
&& cd /jmeter/ \
&& wget https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-$JMETER_VERSION.tgz \
&& tar -xzf apache-jmeter-$JMETER_VERSION.tgz \
&& rm apache-jmeter-$JMETER_VERSION.tgz
RUN cd /jmeter/apache-jmeter-$JMETER_VERSION/ && wget -q -O /tmp/JMeterPlugins-Standard-1.4.0.zip https://jmeter-plugins.org/downloads/file/JMeterPlugins-Standard-1.4.0.zip && unzip -n /tmp/JMeterPlugins-Standard-1.4.0.zip && rm /tmp/JMeterPlugins-Standard-1.4.0.zip
RUN wget -q -O /jmeter/apache-jmeter-$JMETER_VERSION/lib/ext/pepper-box-1.0.jar https://github.com/raladev/load/blob/master/JARs/pepper-box-1.0.jar?raw=true
RUN cd /jmeter/apache-jmeter-$JMETER_VERSION/ && wget -q -O /tmp/bzm-parallel-0.9.zip https://jmeter-plugins.org/files/packages/bzm-parallel-0.9.zip && unzip -n /tmp/bzm-parallel-0.9.zip && rm /tmp/bzm-parallel-0.9.zip
RUN cd /jmeter/apache-jmeter-$JMETER_VERSION/ && wget -q -O /tmp/jpgc-graphs-vs-2.0.zip https://jmeter-plugins.org/files/packages/jpgc-graphs-vs-2.0.zip && unzip -n /tmp/jpgc-graphs-vs-2.0.zip && rm /tmp/jpgc-graphs-vs-2.0.zip
RUN cd /jmeter/apache-jmeter-$JMETER_VERSION/ && wget -q -O /tmp/jpgc-graphs-additional-2.0.zip https://jmeter-plugins.org/files/packages/jpgc-graphs-additional-2.0.zip && unzip -n /tmp/jpgc-graphs-additional-2.0.zip && rm /tmp/jpgc-graphs-additional-2.0.zip
RUN cd /jmeter/apache-jmeter-$JMETER_VERSION/ && wget -q -O /tmp/jpgc-tst-2.5.zip https://jmeter-plugins.org/files/packages/jpgc-tst-2.5.zip && unzip -n /tmp/jpgc-tst-2.5.zip && rm /tmp/jpgc-tst-2.5.zip
RUN cd /jmeter/apache-jmeter-$JMETER_VERSION/ && wget -q -O /tmp/jpgc-dummy-0.4.zip https://jmeter-plugins.org/files/packages/jpgc-dummy-0.4.zip && unzip -n /tmp/jpgc-dummy-0.4.zip && rm /tmp/jpgc-dummy-0.4.zip
ENV JMETER_HOME /jmeter/apache-jmeter-$JMETER_VERSION/
ENV PATH $JMETER_HOME/bin:$PATH