Skip to content

Commit

Permalink
update script to allow setting otx version using env. variable
Browse files Browse the repository at this point in the history
  • Loading branch information
yunchu committed Aug 30, 2024
1 parent 4c8555e commit 9aebd15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# shellcheck disable=SC2154
# shellcheck disable=SC2154,SC2035,SC2046

OTX_VERSION=$(python -c 'import otx; print(otx.__version__)')
OTX_VERSION ?= $(python -c 'import otx; print(otx.__version__)')
THIS_DIR=$(dirname "$0")

echo "Build OTX ${OTX_VERSION} CUDA Docker image..."
Expand Down

0 comments on commit 9aebd15

Please sign in to comment.