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

Load missing PECL package index before installing Swoole. #94

Merged
merged 1 commit into from
Apr 7, 2021
Merged

Load missing PECL package index before installing Swoole. #94

merged 1 commit into from
Apr 7, 2021

Conversation

cihantas
Copy link
Contributor

@cihantas cihantas commented Apr 7, 2021

Running ./vendor/bin/sail build will throw an error when trying to install Swoole via PECL.

> [5/12] RUN pecl install swoole:
No releases available for package "pecl.php.net/swoole"
install failed

Reason for this is that the package index is missing and must first be updated.

This PR resolves the issue by extending the Dockerfile for PHP 8.0 to run pecl channel-update before trying to install Swoole.

Error message: No releases available for package "pecl.php.net/swoole".
@taylorotwell taylorotwell merged commit 50c993f into laravel:1.x Apr 7, 2021
@larswoltersdev
Copy link

larswoltersdev commented Apr 13, 2021

This issue still occurs for me 😞 @taylorotwell @cihantas

@drpiou
Copy link

drpiou commented Apr 13, 2021

@larstw It also happened to me (it seems the vendor Dockerfile doesn't have the mentioned fix in ref e46a322). But I manually updated the Dockerfile regarding the fix stated in the merge while installing and then revert back and now sail up works.

@driesvints
Copy link
Member

This still needs to be tagged. I'm doing releases in a bit.

@driesvints
Copy link
Member

Released Sail v1.4.12

oddvalue pushed a commit to oddvalue/sail that referenced this pull request May 26, 2021
Error message: No releases available for package "pecl.php.net/swoole".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants