mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-21 19:31:43 +00:00
17 lines
339 B
Bash
Executable File
17 lines
339 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPT_LOCATION=$0
|
|
cd "$(dirname "$SCRIPT_LOCATION")"
|
|
WORK_DIR=$(pwd)
|
|
|
|
if [[ " $* " == *" --help "* ]] || [[ " $* " == *" -h "* ]]; then
|
|
bash $WORK_DIR/build_image.sh "$@"
|
|
exit 0
|
|
fi
|
|
|
|
bash $WORK_DIR/build_image.sh --install-mode openai "$@"
|
|
|
|
if [ 0 -ne $? ]; then
|
|
echo "Error: build base image failed"
|
|
exit 1
|
|
fi |