Skip to content

Commit fd14211

Browse files
committed
update swoole version
1 parent fad4926 commit fd14211

File tree

4 files changed

+12
-16
lines changed

4 files changed

+12
-16
lines changed

frameworks/PHP/swoole/swoole-async-mysql.dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
FROM ubuntu:24.04
22

3-
ENV SWOOLE_VERSION 6.0.0
43
ENV ENABLE_COROUTINE 1
54
ENV CPU_MULTIPLES 1
65
ENV DATABASE_DRIVER mysql
@@ -11,9 +10,9 @@ RUN apt update -yqq > /dev/null \
1110
&& apt install -yqq software-properties-common > /dev/null \
1211
&& LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php > /dev/null \
1312
&& apt update -yqq > /dev/null \
14-
&& apt install libbrotli-dev php8.4-cli php8.4-pdo-mysql php8.4-dev -y > /dev/null \
15-
&& cd /tmp && curl -sSL "https://github.com/swoole/swoole-src/archive/v${SWOOLE_VERSION}.tar.gz" | tar xzf - \
16-
&& cd /tmp/swoole-src-${SWOOLE_VERSION} \
13+
&& apt install git libbrotli-dev php8.4-cli php8.4-pdo-mysql php8.4-dev -y > /dev/null \
14+
&& cd /tmp && git clone https://github.com/swoole/swoole-src.git \
15+
&& cd /tmp/swoole-src/ && git checkout feat_llhttp \
1716
&& phpize > /dev/null \
1817
&& ./configure > /dev/null \
1918
&& make -j "$(nproc)" > /dev/null \

frameworks/PHP/swoole/swoole-async-postgres.dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
FROM ubuntu:24.04
22

3-
ENV SWOOLE_VERSION 6.0.0
43
ENV ENABLE_COROUTINE 1
54
ENV CPU_MULTIPLES 1
65
ENV DATABASE_DRIVER pgsql
@@ -11,9 +10,9 @@ RUN apt update -yqq > /dev/null \
1110
&& apt install -yqq software-properties-common > /dev/null \
1211
&& LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php > /dev/null \
1312
&& apt update -yqq > /dev/null \
14-
&& apt install libbrotli-dev php8.4-cli php8.4-pdo-pgsql php8.4-dev libpq-dev -y > /dev/null \
15-
&& cd /tmp && curl -sSL "https://github.com/swoole/swoole-src/archive/v${SWOOLE_VERSION}.tar.gz" | tar xzf - \
16-
&& cd /tmp/swoole-src-${SWOOLE_VERSION} \
13+
&& apt install git libbrotli-dev php8.4-cli php8.4-pdo-pgsql php8.4-dev libpq-dev -y > /dev/null \
14+
&& cd /tmp && git clone https://github.com/swoole/swoole-src.git \
15+
&& cd /tmp/swoole-src/ && git checkout feat_llhttp \
1716
&& phpize > /dev/null \
1817
&& ./configure --enable-swoole-pgsql > /dev/null \
1918
&& make -j "$(nproc)" > /dev/null \

frameworks/PHP/swoole/swoole-sync-mysql.dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
FROM ubuntu:24.04
22

3-
ENV SWOOLE_VERSION 6.0.0
43
ENV ENABLE_COROUTINE 0
54
ENV CPU_MULTIPLES 1
65
ENV DATABASE_DRIVER mysql
@@ -11,9 +10,9 @@ RUN apt update -yqq > /dev/null \
1110
&& apt install -yqq software-properties-common > /dev/null \
1211
&& LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php > /dev/null \
1312
&& apt update -yqq > /dev/null \
14-
&& apt install libbrotli-dev php8.4-cli php8.4-pdo-mysql php8.4-dev -y > /dev/null \
15-
&& cd /tmp && curl -sSL "https://github.com/swoole/swoole-src/archive/v${SWOOLE_VERSION}.tar.gz" | tar xzf - \
16-
&& cd /tmp/swoole-src-${SWOOLE_VERSION} \
13+
&& apt install git libbrotli-dev php8.4-cli php8.4-pdo-mysql php8.4-dev -y > /dev/null \
14+
&& cd /tmp && git clone https://github.com/swoole/swoole-src.git \
15+
&& cd /tmp/swoole-src/ && git checkout feat_llhttp \
1716
&& phpize > /dev/null \
1817
&& ./configure > /dev/null \
1918
&& make -j "$(nproc)" > /dev/null \

frameworks/PHP/swoole/swoole-sync-postgres.dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
FROM ubuntu:24.04
22

3-
ENV SWOOLE_VERSION 6.0.0
43
ENV ENABLE_COROUTINE 0
54
ENV CPU_MULTIPLES 4
65
ENV DATABASE_DRIVER pgsql
@@ -11,9 +10,9 @@ RUN apt update -yqq > /dev/null \
1110
&& apt install -yqq software-properties-common > /dev/null \
1211
&& LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php > /dev/null \
1312
&& apt update -yqq > /dev/null \
14-
&& apt install libbrotli-dev php8.4-cli php8.4-pdo-pgsql php8.4-dev libpq-dev -y > /dev/null \
15-
&& cd /tmp && curl -sSL "https://github.com/swoole/swoole-src/archive/v${SWOOLE_VERSION}.tar.gz" | tar xzf - \
16-
&& cd /tmp/swoole-src-${SWOOLE_VERSION} \
13+
&& apt install git libbrotli-dev php8.4-cli php8.4-pdo-pgsql php8.4-dev libpq-dev -y > /dev/null \
14+
&& cd /tmp && git clone https://github.com/swoole/swoole-src.git \
15+
&& cd /tmp/swoole-src/ && git checkout feat_llhttp \
1716
&& phpize > /dev/null \
1817
&& ./configure > /dev/null \
1918
&& make -j "$(nproc)" > /dev/null \

0 commit comments

Comments
 (0)