Skip to content

Commit

Permalink
fix(OPS-4588): Don't remove mandatory files
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-glushak committed Jun 5, 2024
1 parent 5a81b98 commit f76830e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions images/baked/slim/application-build/Dockerfile.twig
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ RUN --mount=type=cache,id=composer,sharing=locked,target=/home/spryker/.composer
&& composer install --no-scripts --no-interaction --prefer-dist ${SPRYKER_COMPOSER_MODE} \
&& find vendor -type d -name \.git -prune -exec rm -rf {} + \
&& sh -c 'if [ -d vendor/spryker/spryker/Bundles ]; then find vendor/spryker/spryker/Bundles -type d -maxdepth 2 -mindepth 2 \( -name "\.github" \) -prune -exec rm -rf {} + \
&& find vendor/spryker/spryker/Bundles -type f -maxdepth 2 -mindepth 2 ! -name "composer.json" -prune -exec rm -rf {} + \
; fi' \
&& sh -c 'if [ -d vendor/spryker/spryker-shop/Bundles ]; then find vendor/spryker/spryker-shop/Bundles -type d -maxdepth 2 -mindepth 2 \( -name "\.github" \) -prune -exec rm -rf {} + \
&& find vendor/spryker/spryker-shop/Bundles -type f -maxdepth 2 -mindepth 2 ! -name "composer.json" -prune -exec rm -rf {} + \
; fi'


Expand Down

0 comments on commit f76830e

Please sign in to comment.