Skip to content

Commit

Permalink
fix(docker): entrypoint default value format (#1018)
Browse files Browse the repository at this point in the history
  • Loading branch information
jialeicui committed Aug 26, 2022
1 parent 810aa2a commit 55cfa0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/scripts/sw-docker-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ PIP_CACHE_DIR=${SW_PIP_CACHE_DIR:=/root/.cache/pip}
_MANIFEST_RUNTIME=$(cat ${WORKDIR}/_manifest.yaml| grep "python:" | awk '{print $2}' | awk -F '.' '{print $1"."$2}') || true
_MODEL_RUNTIME=$(cat ${WORKDIR}/model.yaml | grep 'runtime' | awk '{print $2}') || true
VERBOSE="-vvvv"
STEP=${SW_TASK_STEP:""}
TASK_INDEX=${SW_TASK_INDEX:=0}
STEP=${SW_TASK_STEP:-""}
TASK_INDEX=${SW_TASK_INDEX:-0}

_update_python_alter() {
echo "--> set python/python3 to $1 ..."
Expand Down

0 comments on commit 55cfa0a

Please sign in to comment.