File tree Expand file tree Collapse file tree 4 files changed +12
-16
lines changed Expand file tree Collapse file tree 4 files changed +12
-16
lines changed Original file line number Diff line number Diff line change 11FROM ubuntu:24.04
22
3- ENV SWOOLE_VERSION 6.0.0
43ENV ENABLE_COROUTINE 1
54ENV CPU_MULTIPLES 1
65ENV 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 \
Original file line number Diff line number Diff line change 11FROM ubuntu:24.04
22
3- ENV SWOOLE_VERSION 6.0.0
43ENV ENABLE_COROUTINE 1
54ENV CPU_MULTIPLES 1
65ENV 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 \
Original file line number Diff line number Diff line change 11FROM ubuntu:24.04
22
3- ENV SWOOLE_VERSION 6.0.0
43ENV ENABLE_COROUTINE 0
54ENV CPU_MULTIPLES 1
65ENV 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 \
Original file line number Diff line number Diff line change 11FROM ubuntu:24.04
22
3- ENV SWOOLE_VERSION 6.0.0
43ENV ENABLE_COROUTINE 0
54ENV CPU_MULTIPLES 4
65ENV 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 \
You can’t perform that action at this time.
0 commit comments