This commit separates the task of dependencies installation into its own separate run layer. Previously, dependencies installation shared the same layer as local repo build.
This change means that the dependencies run layer can be reused (cached) whilst the local repo is modified. Which is helpful for regtests.