Created
July 20, 2019 09:25
-
-
Save dragosMC91/af901ff829b2184c5cb54082c3f3d18d to your computer and use it in GitHub Desktop.
The entrypoint shell script for the base JMeter dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Run command to allocate the default or custom system resources (memory) to JMeter at 'docker run' | |
sed -i 's/\("${HEAP:="\)\(.*\)\("}"\)/\1-Xms'${Xms}' -Xmx'${Xmx}' -XX:MaxMetaspaceSize='${MaxMetaspaceSize}'\3/' ${JMETER_BIN}/jmeter | |
exec "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment