Hi, @mag_oc!
In my opinion, the .sh file is the easiest way to do it.
Searching for the right answer, I found this topic where they do it.
You were almost correct. There was a line missing:
#!/bin/bash
shopt -s expand_aliases
source /home/lucas/work/tcbdir/tcb-env-setup.sh
cd /home/lucas/work/tcbdir/ && torizoncore-builder images serve images/
As torizoncore-builder
is an alias for another command, the script needed shopt -s expand_aliases
to be able to use aliases.
Best regards.
Lucas Azeituno.