Skip to content

Instantly share code, notes, and snippets.

@dragosMC91
Created July 20, 2019 09:29
Show Gist options
  • Save dragosMC91/c5b26a0ef3f9c39b39a3bf6ab747f5a9 to your computer and use it in GitHub Desktop.
Save dragosMC91/c5b26a0ef3f9c39b39a3bf6ab747f5a9 to your computer and use it in GitHub Desktop.
The dockerfile for the JMeter slave built on top of the base image
# Use my custom base image defined above
FROM dragoscampean/testrepo:jmetrubase
MAINTAINER Dragos
# Expose ports for JMeter Slave
EXPOSE 1099 50000
COPY entrypoint.sh /
RUN chmod +x ./entrypoint.sh
# Run command to allocate the default system resources to JMeter at 'docker run' and start jmeter-server with all required parameters
ENTRYPOINT ["/entrypoint.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment