use newer envtpl to make start.sh cleaner; more comments; fewer dockerfile lines
fix set -eu
merge