Skip to content

Commit 5e160c5

Browse files
committed
refactor: Switch to composer update
with lowest stable dependency requirements
1 parent 42bd7f6 commit 5e160c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

alpine/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN \
2424
git clone -b ${SHOPWARE_VERSION} --depth 1 "${TEMPLATE_REPOSITORY}" "${SHOPWARE_BUILD_DIR}" && \
2525
cd "${SHOPWARE_BUILD_DIR}" && \
2626
mkdir -p custom && \
27-
composer install --no-interaction -o && \
27+
composer update --prefer-lowest --prefer-stable --no-interaction -o && \
2828
APP_URL="http://localhost" php bin/console system:setup --database-url=mysql://root:root@localhost:3306/shopware --generate-jwt-keys -nq && \
2929
php bin/console system:install -fnq --create-database && \
3030
composer clearcache && \

debian/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RUN \
3434
git clone -b ${SHOPWARE_VERSION} --depth 1 "${TEMPLATE_REPOSITORY}" "${SHOPWARE_BUILD_DIR}" && \
3535
cd "${SHOPWARE_BUILD_DIR}" && \
3636
mkdir -p custom && \
37-
composer install --no-interaction -o && \
37+
composer update --prefer-lowest --prefer-stable --no-interaction -o && \
3838
APP_URL="http://localhost" php bin/console system:setup --database-url=mysql://root:root@localhost:3306/shopware --generate-jwt-keys -nq && \
3939
php bin/console system:install -fnq --create-database && \
4040
composer clearcache && \

0 commit comments

Comments
 (0)