Skip to content

Commit

Permalink
Fix missing PECL package index during install. (#94)
Browse files Browse the repository at this point in the history
Error message: No releases available for package "pecl.php.net/swoole".
  • Loading branch information
cihantas authored Apr 7, 2021
1 parent e46a322 commit 50c993f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtimes/8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ RUN apt-get update \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN pecl install swoole
RUN pecl channel-update https://pecl.php.net/channel.xml \
&& pecl install swoole

RUN setcap "cap_net_bind_service=+ep" /usr/bin/php8.0

Expand Down

3 comments on commit 50c993f

@TheHirschfield
Copy link

Choose a reason for hiding this comment

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

How can I fix this in the short term, as I'm trying to get set up now and it still isn't working?

@TheHirschfield
Copy link

@TheHirschfield TheHirschfield commented on 50c993f Apr 9, 2021

Choose a reason for hiding this comment

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

How can I fix this in the short term, as I'm trying to get set up now and it still isn't working?

For anyone wondering due to my question I went into my vendor/laravel/sail folder and changed the Dockerfile with the lines above, as the next release to fix this is 4 days away.

@SergeDN9
Copy link

Choose a reason for hiding this comment

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

Thank You so much Oliver ! i was stuck with this during 24 hours, dnd all is working fine now !

Please sign in to comment.