Skip to content

Commit

Permalink
SUPESC-852 Fixed cache corruption (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
olhalivitchuk authored Jul 18, 2024
1 parent 9318473 commit a728660
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion infrastructure/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY --chown=spryker:spryker ../composer.json composer.lock ${srcRoot}/

RUN --mount=type=cache,id=composer,sharing=locked,target=/home/spryker/.composer/cache,uid=1000 \
--mount=type=ssh,uid=1000 --mount=type=secret,id=secrets-env,uid=1000 \
composer install --no-scripts --no-interaction --dev -vvv
composer clean-cache && composer install --no-cache --no-scripts --no-interaction --dev -vvv

FROM application-production-dependencies AS application-production-codebase

Expand Down
2 changes: 1 addition & 1 deletion infrastructure/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY --chown=spryker:spryker composer.json composer.lock ${srcRoot}/

RUN --mount=type=cache,id=composer,sharing=locked,target=/home/spryker/.composer/cache,uid=1000 \
--mount=type=ssh,uid=1000 --mount=type=secret,id=secrets-env,uid=1000 \
composer install --no-scripts --no-interaction --dev -vvv
composer clear-cache && composer install --no-cache --no-scripts --no-interaction --dev -vvv

FROM application-production-dependencies AS application-production-codebase

Expand Down

0 comments on commit a728660

Please sign in to comment.