Docker Build Ending Up `returned a non-zero code: 1` Running mktexlsr /var/lib/texmf ... done.
Building format(s) --all.
        This may take some time... done.
build.sh: line 81: -: No such file or directory
The command '/bin/sh -c bash build.sh' returned a non-zero code: 1

You can view the code here.
https://github.com/austinsonger/GreenOpenVAS
Line 81 of build.sh is trying to run python3.  But the problem is more fundamental because you aren't getting any of the earlier echos or apt-get command's output.  I would try:
chmod +x build.sh
./build.sh

to let the sh-bang line do its job.