Skip to content

Commit 8d012e4

Browse files
Merge pull request #402 from continuouspipe/feature/run-composer-config-upon-m2-start
Call composer config upon Magento 2 startup.
2 parents 3c17dff + 4369be6 commit 8d012e4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

magento2/usr/local/share/container/baseimage-30.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ if [ "$IMAGE_VERSION" -ge 2 ]; then
99
PRODUCTION_ENVIRONMENT="$BUILD_PRODUCTION_ENVIRONMENT" MAGENTO_MODE="$BUILD_MAGENTO_MODE" DEVELOPMENT_MODE="$BUILD_DEVELOPMENT_MODE" do_magento2_build
1010
}
1111

12+
alias_function do_start do_magento2_start_inner
13+
do_start() {
14+
do_magento2_start_inner
15+
do_composer_config
16+
}
17+
1218
alias_function do_development_start do_magento2_development_start_inner
1319
do_development_start() {
1420
do_magento2_development_start_inner

0 commit comments

Comments
 (0)