Skip to content

Commit aa6ff27

Browse files
authored
Sync the update of the Ripple (#10142)
1 parent b6deb5f commit aa6ff27

File tree

3 files changed

+203
-104
lines changed

3 files changed

+203
-104
lines changed

frameworks/PHP/ripple/composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"require": {
33
"ext-pdo": "*",
4-
"cloudtay/ripple-http": "^1.0",
5-
"cloudtay/ripple": "^1.0"
4+
"cloudtay/ripple": "^2.0"
65
},
76
"minimum-stability": "beta",
87
"prefer-stable": true

frameworks/PHP/ripple/ripple.dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@ FROM php:8.3-cli
22

33
RUN apt-get update -yqq >> /dev/null
44
RUN apt-get install -y libevent-dev \
5+
libffi-dev \
56
libssl-dev \
67
pkg-config \
78
build-essential \
89
unzip >> /dev/null
910

1011
RUN docker-php-ext-install pdo_mysql \
12+
ffi \
1113
opcache \
1214
posix \
1315
pcntl \
1416
sockets >> /dev/null
1517

16-
RUN pecl install event >> /dev/null
18+
RUN pecl install ev >> /dev/null
1719

18-
RUN docker-php-ext-enable posix pcntl sockets
19-
RUN docker-php-ext-enable --ini-name zz-event.ini event
20+
RUN docker-php-ext-enable posix pcntl sockets ev
2021

2122
COPY --from=composer --link /usr/bin/composer /usr/local/bin/composer
2223

@@ -25,7 +26,7 @@ WORKDIR /ripple
2526
COPY --link . .
2627

2728
# Configure
28-
RUN composer install --quiet
29+
RUN composer install
2930

3031
# Start
3132
EXPOSE 8080

0 commit comments

Comments
 (0)