I am trying to create a dockerfile that references the justb4/jmeter image and uses that to run a jmeter script that I have saved locally on my machine. When I go to the directory on my device where my dockerfile is located and do the command 'docker build -< Dockerfile', it builds successfully. However when I run it, it will output the following:
START Running Jmeter on Thu Aug 8 13:25:25 UTC 2019
JVM_ARGS=-Xmn9640m -Xms38560m -Xmx38560m
jmeter args=sh -c if [ -x /usr/local/bin/bash ]; then
24 exec /usr/local/bin/bash
Error: Unknown option -c
Hello,
I am trying to create a dockerfile that references the justb4/jmeter image and uses that to run a jmeter script that I have saved locally on my machine. When I go to the directory on my device where my dockerfile is located and do the command 'docker build -< Dockerfile', it builds successfully. However when I run it, it will output the following:
START Running Jmeter on Thu Aug 8 13:25:25 UTC 2019 JVM_ARGS=-Xmn9640m -Xms38560m -Xmx38560m jmeter args=sh -c if [ -x /usr/local/bin/bash ]; then 24 exec /usr/local/bin/bash Error: Unknown option -c
Is the -c there intentionally?