Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the docker build error due to an old symfon/cache version #1165

Merged
merged 2 commits into from
Oct 6, 2024

Conversation

BentiGorlich
Copy link
Member

@BentiGorlich BentiGorlich commented Oct 6, 2024

Fixes

[php builder-composer 7/7] RUN composer run-script --no-dev post-install-cmd && chmod +x bin/console && sync:
0.627
0.627 Run composer recipes at any time to see the status of your Symfony recipes.
0.627
0.658 Executing script cache:clear [KO]
3.345 [KO]
3.345 Script cache:clear returned with error code 255
3.345 !! PHP Fatal error: Declaration of Symfony\Component\Cache\Traits\Redis6ProxyTrait::hSet($key, $fields_and_vals): Redis|int|false must be compatible with Redis::hSet(string $key, mixed ...$fields_and_vals): Redis|int|false in /var/www/mbin/vendor/symfony/cache/Traits/Redis6ProxyTrait.php on line 30
3.345 !!

3.345 Script @auto-scripts was called via post-install-cmd

failed to solve: process "/bin/sh -c composer run-script --no-dev post-install-cmd && chmod +x bin/console && sync" did not complete successfully: exit code: 255

@BentiGorlich BentiGorlich added dependencies Pull requests that update a dependency file docker Issues and pull requests related to docker environment labels Oct 6, 2024
@BentiGorlich BentiGorlich requested a review from melroy89 October 6, 2024 12:07
@BentiGorlich BentiGorlich self-assigned this Oct 6, 2024
@BentiGorlich BentiGorlich added this to the v1.7.2 milestone Oct 6, 2024
Copy link
Member

@melroy89 melroy89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx

@BentiGorlich BentiGorlich enabled auto-merge (squash) October 6, 2024 15:27
@BentiGorlich BentiGorlich merged commit 4231f42 into main Oct 6, 2024
7 checks passed
@BentiGorlich BentiGorlich deleted the fix/build-error-due-to-version-mismatch branch October 6, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file docker Issues and pull requests related to docker environment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants