FROM openjdk:8-jre-slim
ARG JMETER_VERSION=5.0
RUN apt-get clean &&
apt-get update &&
apt-get -qy install
wget
telnet
iputils-ping
git
vim
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
&& mkdir /jmeter-plugins
&& cd /jmeter-plugins/
&& wget https://jmeter-plugins.org/downloads/file/JMeterPlugins-ExtrasLibs-1.4.0.zip
&& wget https://jmeter-plugins.org/downloads/file/JMeterPlugins-Extras-1.4.0.zip
&& wget https://jmeter-plugins.org/downloads/file/JMeterPlugins-Standard-1.4.0.zip
&& wget https://jmeter-plugins.org/files/packages/jpgc-casutg-2.5.zip
&& wget https://jmeter-plugins.org/files/packages/jpgc-json-2.6.zip
&& wget https://jmeter-plugins.org/files/packages/jpgc-csl-0.1.zip
&& wget https://jmeter-plugins.org/files/packages/jpgc-tst-2.5.zip
&& wget https://jmeter-plugins.org/files/packages/custom-soap-1.3.zip
&& wget https://jmeter-plugins.org/files/packages/jpgc-jms-0.2.zip
&& wget https://jmeter-plugins.org/files/packages/bzm-hls-1.2.zip
&& wget http://www.java2s.com/Code/JarDownload/poi/poi-3.9.jar.zip
&& unzip -o JMeterPlugins-ExtrasLibs-1.4.0.zip -d /jmeter/apache-jmeter-$JMETER_VERSION/
&& unzip -o JMeterPlugins-Extras-1.4.0.zip -d /jmeter/apache-jmeter-$JMETER_VERSION/
&& unzip -o JMeterPlugins-Standard-1.4.0.zip -d /jmeter/apache-jmeter-$JMETER_VERSION/
&& unzip -o jpgc-casutg-2.5.zip -d /jmeter/apache-jmeter-$JMETER_VERSION/
&& unzip -o jpgc-json-2.6.zip -d /jmeter/apache-jmeter-$JMETER_VERSION/
&& unzip -o jpgc-csl-0.1.zip -d /jmeter/apache-jmeter-$JMETER_VERSION/
&& unzip -o jpgc-tst-2.5.zip -d /jmeter/apache-jmeter-$JMETER_VERSION/
&& unzip -o custom-soap-1.3.zip -d /jmeter/apache-jmeter-$JMETER_VERSION/
&& unzip -o jpgc-jms-0.2.zip -d /jmeter/apache-jmeter-$JMETER_VERSION/
&& unzip -o poi-3.9.jar.zip -d /jmeter/apache-jmeter-$JMETER_VERSION/lib/ext/
&& unzip -o bzm-hls-1.2.zip -d /jmeter/apache-jmeter-$JMETER_VERSION/
RUN cd /jmeter-plugins/
&& rm JMeterPlugins-ExtrasLibs-1.4.0.zip
&& rm JMeterPlugins-Extras-1.4.0.zip
&& rm JMeterPlugins-Standard-1.4.0.zip
&& rm jpgc-casutg-2.5.zip
&& rm jpgc-json-2.6.zip
&& rm jpgc-csl-0.1.zip
&& rm jpgc-tst-2.5.zip
&& rm custom-soap-1.3.zip
&& rm jpgc-jms-0.2.zip
&& rm bzm-hls-1.2.zip
ENV JMETER_HOME /jmeter/apache-jmeter-$JMETER_VERSION
ENV PATH $JMETER_HOME/bin:$PATH
RUN eval $(ssh-agent) \
&& mkdir /root/.ssh
&& cd /root/.ssh
&& ssh-keygen -q -t rsa -N '' -f /root/.ssh/id_rsa
&& chmod -R 700 /root/.ssh
&& ssh-add /root/.ssh/id_rsa
&& echo "StrictHostKeyChecking = no" >> /etc/ssh/ssh_config
Content type
Image
Digest
Size
191.8 MB
Last updated
about 8 years ago
docker pull vinniekaboom/jmeter-base