Issues with upgrading via command line - works via wizard (7.12.14 to. 7.13.1) (Docker)

Running it on a docker container with a MariaDB database.
I first suspected that it was due to composer being unable to generate autoloaded files (which doesn’t seem to be an issue when running composer install locally and using Composer version 2.6.6 as opposed to 2.6.7 seems to have quieted those errors though I have suspicions it hasn’t truly resolved them)

However, running the installation via the wizard has produced no issues. I’ve rerun composer install and checked and boostrap.php does exist on vendor/javanile./php-imap2

Would appreciate any help on this!

Update; figured out it was due to lack of permissions for the vendor subdirectory. Fixed by adding necessary permissions