Skip to content

Instantly share code, notes, and snippets.

@vinsguru
Last active February 16, 2018 11:32
Show Gist options
  • Save vinsguru/e1f615ac215e33dbaa2c6849888712b9 to your computer and use it in GitHub Desktop.
Save vinsguru/e1f615ac215e33dbaa2c6849888712b9 to your computer and use it in GitHub Desktop.
# Use Ubuntu
FROM ubuntu
MAINTAINER TestAutomationGuru
# Install wger & JRE
RUN apt-get clean && \
apt-get update && \
apt-get -qy install \
wget \
default-jre-headless \
telnet \
iputils-ping \
unzip
# Install jmeter
RUN mkdir /jmeter \
&& cd /jmeter/ \
&& wget https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-2.13.tgz \
&& tar -xzf apache-jmeter-2.13.tgz \
&& rm apache-jmeter-2.13.tgz \
&& mkdir /jmeter-plugins \
&& cd /jmeter-plugins/ \
&& wget https://jmeter-plugins.org/downloads/file/JMeterPlugins-ExtrasLibs-1.4.0.zip \
&& unzip -o JMeterPlugins-ExtrasLibs-1.4.0.zip -d /jmeter/apache-jmeter-2.13/
# Set Jmeter Home
ENV JMETER_HOME /jmeter/apache-jmeter-2.13/
# Add Jmeter to the Path
ENV PATH $JMETER_HOME/bin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment