We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5170736 commit f611cc1Copy full SHA for f611cc1
docker/build.sh
@@ -1,7 +1,9 @@
1
#!/bin/bash
2
-# shellcheck disable=SC2154
+# shellcheck disable=SC2154,SC2035,SC2046
3
4
-OTX_VERSION=$(python -c 'import otx; print(otx.__version__)')
+if [ "$OTX_VERSION" == "" ]; then
5
+ OTX_VERSION=$(python -c 'import otx; print(otx.__version__)')
6
+fi
7
THIS_DIR=$(dirname "$0")
8
9
echo "Build OTX ${OTX_VERSION} CUDA Docker image..."
0 commit comments