Commit 113b847 1 parent 82e53de commit 113b847 Copy full SHA for 113b847
File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ARG SWOOLE_VERSION
8
8
COPY script/ /tmp/script
9
9
10
10
RUN set -eux \
11
- && apt-get update && apt-get -y install procps libpq-dev unzip git libzip-dev libevent-dev libssl-dev libicu-dev libc-ares-dev libcurl4-openssl-dev unixodbc-dev libsqlite3-dev \
11
+ && apt-get update && apt-get -y install procps libpq-dev unzip git libzip-dev libevent-dev libssl-dev libicu-dev libc-ares-dev libcurl4-openssl-dev unixodbc-dev libsqlite3-dev libbrotli-dev \
12
12
&& docker-php-ext-install -j$(nproc) bcmath mysqli pdo_mysql pdo_pgsql pcntl sockets intl zip \
13
13
&& (php --ri redis || (pecl install redis && docker-php-ext-enable redis)) \
14
14
&& pecl install inotify \
@@ -18,7 +18,13 @@ RUN set -eux \
18
18
&& pecl install apcu \
19
19
&& docker-php-ext-enable apcu \
20
20
&& curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && chmod +x /usr/bin/composer \
21
- && curl -L -o swoole.tar.gz https://github.com/swoole/swoole-src/archive/${SWOOLE_VERSION}.tar.gz && mkdir -p swoole && tar -xzf swoole.tar.gz -C swoole --strip-components=1 && rm swoole.tar.gz && cd swoole && ((stat ./make.sh && ./make.sh) || (stat ./scripts/make.sh && ./scripts/make.sh)) && cd - && docker-php-ext-enable swoole \
21
+ && curl -L -o swoole.tar.gz https://github.com/swoole/swoole-src/archive/${SWOOLE_VERSION}.tar.gz && mkdir -p swoole && tar -xzf swoole.tar.gz -C swoole --strip-components=1 && rm swoole.tar.gz && cd swoole && ((stat ./make.sh && ./make.sh) || (phpize && ./configure --enable-openssl \
22
+ --enable-sockets \
23
+ --enable-mysqlnd \
24
+ --enable-swoole-curl \
25
+ --enable-cares \
26
+ --enable-swoole-pgsql \
27
+ --with-swoole-odbc=unixODBC,/usr \
28
+ --enable-swoole-sqlite && make -j install)) && cd - && docker-php-ext-enable swoole \
22
29
&& bash /tmp/script/swoole_postgresql.sh ${POSTGRESQL_VERSION} \
23
- && bash /tmp/script/hprose.sh \
24
30
&& echo "zend_extension=opcache.so" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
Original file line number Diff line number Diff line change @@ -313,7 +313,8 @@ jobs:
313
313
# MacOS Arm64 下需要下面的修复,否则无法编译成功
314
314
- name : Fix include
315
315
run : |
316
- sudo ln -s $(brew --prefix pcre2)/include/pcre2.h /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/
316
+ sudo mkdir -p /usr/local/include
317
+ sudo ln -s $(brew --prefix pcre2)/include/pcre2.h /usr/local/include/
317
318
- name : Get Openssl Dir
318
319
id : opecssl-dir
319
320
run :
echo "path=$(brew --prefix [email protected] )" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments