diff --git a/cli/raft-tools/tools/ZAP/config.json b/cli/raft-tools/tools/ZAP/config.json index 7eba08bc..687fd658 100644 --- a/cli/raft-tools/tools/ZAP/config.json +++ b/cli/raft-tools/tools/ZAP/config.json @@ -3,11 +3,14 @@ "run" : { "command" : "bash", "arguments" : ["-c", - "sleep $RAFT_STARTUP_DELAY; touch /.dockerenv; cd $RAFT_TOOL_RUN_DIRECTORY; ln -s $RAFT_WORK_DIRECTORY /zap/wrk; python3 run.py install; python3 run.py" ] + "sleep $RAFT_STARTUP_DELAY; cd $RAFT_TOOL_RUN_DIRECTORY; ln -s $RAFT_WORK_DIRECTORY /zap/wrk; python3 run.py install; python3 run.py" ] }, "idle" : { "command" : "bash", "arguments" : ["-c", "echo DebugMode; while true; do sleep 100000; done;"] + }, + "environmentVariables" :{ + "IS_CONTAINERIZED" : "true" } } diff --git a/cli/raft-tools/tools/ZAP/requirements.txt b/cli/raft-tools/tools/ZAP/requirements.txt index 372a51c7..23509fab 100644 --- a/cli/raft-tools/tools/ZAP/requirements.txt +++ b/cli/raft-tools/tools/ZAP/requirements.txt @@ -1,2 +1,2 @@ -applicationinsights -azure-servicebus \ No newline at end of file +applicationinsights~=0.11.9 +azure-servicebus~=0.50.3 \ No newline at end of file