@@ -11,13 +11,13 @@ USER spryker
1111COPY --chown=spryker:spryker composer.json composer.lock ${srcRoot}/
1212ARG SPRYKER_COMPOSER_MODE
1313ARG SPRYKER_COMPOSER_VERBOSE
14- # RUN --mount=type=cache,id=composer,sharing=locked,target=/home/spryker/.composer/cache,uid=1000 \
15- # --mount=type=bind,from=composer-cache,source=/,target=/tmp/composer-cache \
16- # --mount=type=ssh,uid=1000 \
17- # --mount=type=secret,id=secrets-env,uid=1000 \
18- # cp -a /tmp/composer-cache/cache/. /home/spryker/.composer/cache/ 2>/dev/null || true \
19- # && set -o allexport && . /run/secrets/secrets-env && set +o allexport \
20- # && composer install --no-scripts --no-interaction ${SPRYKER_COMPOSER_MODE} ${SPRYKER_COMPOSER_VERBOSE}
14+ RUN --mount=type=cache,id=composer,sharing=locked,target=/home/spryker/.composer/cache,uid=1000 \
15+ --mount=type=bind,from=composer-cache,source=/,target=/tmp/composer-cache \
16+ --mount=type=ssh,uid=1000 \
17+ --mount=type=secret,id=secrets-env,uid=1000 \
18+ cp -a /tmp/composer-cache/cache/. /home/spryker/.composer/cache/ 2>/dev/null || true \
19+ && set -o allexport && . /run/secrets/secrets-env && set +o allexport \
20+ && composer install --no-scripts --no-interaction ${SPRYKER_COMPOSER_MODE} ${SPRYKER_COMPOSER_VERBOSE}
2121
2222FROM application-production-dependencies AS application-production-codebase
2323
@@ -39,7 +39,7 @@ ENV APPLICATION_ENV=${APPLICATION_ENV}
3939ENV SPRYKER_DB_ENGINE=${SPRYKER_DB_ENGINE}
4040
4141COPY --chown=spryker:spryker data ${srcRoot}/data
42- # RUN vendor/bin/install -r ${SPRYKER_PIPELINE} -s build -s build-production -vvv
42+ RUN vendor/bin/install -r ${SPRYKER_PIPELINE} -s build -s build-production -vvv
4343
4444ARG SPRYKER_COMPOSER_AUTOLOAD
4545RUN --mount=type=cache,id=composer,sharing=locked,target=/home/spryker/.composer/cache,uid=1000 \
0 commit comments