build_proxy_image.sh 339 Bytes
Newer Older
chenzk's avatar
v1.0  
chenzk committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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