Please follow this section in order to build images with application locally or for CI configuration.
In order to speed up composer install operation, just provide value for COMPOSER_GITHUB_TOKEN
in your build environment.
Then it will be used to download files from github.