File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 24
24
git clone -b ${SHOPWARE_VERSION} --depth 1 "${TEMPLATE_REPOSITORY}" "${SHOPWARE_BUILD_DIR}" && \
25
25
cd "${SHOPWARE_BUILD_DIR}" && \
26
26
mkdir -p custom && \
27
- composer install --no-interaction -o && \
27
+ if [ -f composer.lock ]; then \
28
+ composer install --no-interaction -o \
29
+ else \
30
+ composer update --prefer-lowest --prefer-stable --no-interaction -o \
31
+ fi && \
28
32
APP_URL="http://localhost" php bin/console system:setup --database-url=mysql://root:root@localhost:3306/shopware --generate-jwt-keys -nq && \
29
33
php bin/console system:install -fnq --create-database && \
30
34
composer clearcache && \
Original file line number Diff line number Diff line change 34
34
git clone -b ${SHOPWARE_VERSION} --depth 1 "${TEMPLATE_REPOSITORY}" "${SHOPWARE_BUILD_DIR}" && \
35
35
cd "${SHOPWARE_BUILD_DIR}" && \
36
36
mkdir -p custom && \
37
- composer install --no-interaction -o && \
37
+ if [ -f composer.lock ]; then \
38
+ composer install --no-interaction -o \
39
+ else \
40
+ composer update --prefer-lowest --prefer-stable --no-interaction -o \
41
+ fi && \
38
42
APP_URL="http://localhost" php bin/console system:setup --database-url=mysql://root:root@localhost:3306/shopware --generate-jwt-keys -nq && \
39
43
php bin/console system:install -fnq --create-database && \
40
44
composer clearcache && \
You can’t perform that action at this time.
0 commit comments