We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8395a3 commit 8c276f2Copy full SHA for 8c276f2
template/src/ontology/run.sh.jinja2
@@ -77,7 +77,7 @@ ODK_TAG=${ODK_TAG:-latest}
77
ODK_JAVA_OPTS=${ODK_JAVA_OPTS:-{{ project.robot_java_args }}}
78
{% else %}
79
if [ -z "$USE_SINGULARITY" ]; then
80
- {% raw %}DEFAULT_MAX_MEM=$(bc <<<"($(docker info --format={{.MemTotal}}) * .9) / (1024*1024*1024)")G{% endraw %}
+ {% raw %}DEFAULT_MAX_MEM=$(echo "($(docker info --format={{.MemTotal}}) * .9) / (1024*1024*1024)" | bc)G{% endraw %}
81
else
82
DEFAULT_MAX_MEM=8G
83
fi
0 commit comments