I need to build and deploy a Drupal 8 site within an on-premise server with no internet access (developer machines have internet access, and access to a private repo).
I would like to avoid committing the whole vendor directory to the codebase, and use composer to build the site.
As far as I am aware, my options are:
Commit everything, including third-party modules and the vendor directory
Use something like Satis as a local repository and mirror all the necessary dependencies in there, and reference the private Composer repository
Any recommendations on this scenario?