Skip to content

Commit 49453e2

Browse files
authored
Merge pull request #404 from continuouspipe/feature/allow-new-assets-restore-function-during-build
Move MySQL start to be before the parent build function runs.
2 parents 8d012e4 + e284296 commit 49453e2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ if [ "$IMAGE_VERSION" -ge 2 ]; then
55

66
alias_function do_build do_magento2_build_inner
77
do_build() {
8+
do_magento_build_start_mysql
89
do_magento2_build_inner
910
PRODUCTION_ENVIRONMENT="$BUILD_PRODUCTION_ENVIRONMENT" MAGENTO_MODE="$BUILD_MAGENTO_MODE" DEVELOPMENT_MODE="$BUILD_DEVELOPMENT_MODE" do_magento2_build
1011
}

magento2/usr/local/share/magento2/magento_functions.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,8 +457,6 @@ function do_magento_create_admin_user() (
457457
)
458458

459459
function do_magento2_build() {
460-
461-
do_magento_build_start_mysql
462460
do_magento_create_web_writable_directories
463461
do_magento_frontend_build
464462
do_magento_frontend_cache_clean

0 commit comments

Comments
 (0)