in lib/cc/analyzer/engine.rb [75:92]
def container_options
options = [
"--cap-drop", "all",
"--label", "com.codeclimate.label=#{@label}",
"--log-driver", "none",
"--memory-swap", "-1",
"--net", "none",
"--rm",
"--volume", "#{code.host_path}:/code:ro",
"--volume", "#{config_file.host_path}:/config.json:ro",
"--user", "9000:9000"
]
if (memory = metadata["memory"]).present?
options.concat(["--memory", memory.to_s])
end
options
end