this is basically it:
steps:
- script: |
cd $TORIZON_CORE_BUILDER_DIR
wget https://raw.githubusercontent.com/toradex/tcb-env-setup/master/tcb-env-setup.sh
shopt -s expand_aliases # enable aliasses
source tcb-env-setup.sh -a remote -n
eval $(alias torizoncore-builder | sed "s/-it /-i /") # remove interactive mode tag in alias
torizoncore-builder -v
download the script, use shopt to enable expending aliasses as it used in the script, source the script, edit the alias to work without interactive shell