File tree Expand file tree Collapse file tree 3 files changed +16
-10
lines changed
Expand file tree Collapse file tree 3 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 1313 strategy :
1414 fail-fast : false
1515 matrix :
16- php : ['8.3', '8.4']
16+ php : ['8.3', '8.4', '8.5' ]
1717
1818 steps :
1919 - uses : actions/checkout@v5
Original file line number Diff line number Diff line change @@ -15,15 +15,21 @@ RUN apk update && apk add --no-cache \
1515 postgresql-dev \
1616 sqlite-dev \
1717 libpq \
18+ curl \
19+ build-base \
20+ autoconf \
21+ automake \
22+ libtool \
23+ protobuf-dev \
24+ protobuf-c-dev \
1825 && docker-php-ext-install bcmath gmp pdo_mysql pdo_pgsql pdo_sqlite \
19- && git clone --recursive --depth=1 https://github.com/kjdev/php-ext-snappy.git /tmp/php-ext-snappy \
20- && cd /tmp/php-ext-snappy \
21- && phpize \
22- && ./configure \
23- && make \
24- && make install \
25- && docker-php-ext-enable snappy \
26- && rm -rf /tmp/php-ext-snappy
26+ && curl -L https://github.com/php/pie/releases/latest/download/pie.phar -o /usr/local/bin/pie \
27+ && chmod +x /usr/local/bin/pie \
28+ && php /usr/local/bin/pie install kjdev/brotli \
29+ && php /usr/local/bin/pie install kjdev/lz4 \
30+ && php /usr/local/bin/pie install kjdev/snappy \
31+ && php /usr/local/bin/pie install kjdev/zstd \
32+ && php /usr/local/bin/pie install flow-php/pg-query-ext:1.x-dev
2733
2834# Stage 2: Final Image
2935FROM ${FLOW_BASE_IMAGE} AS flow
Original file line number Diff line number Diff line change 1616require __DIR__ . '/../vendor/autoload.php ' ;
1717
1818if (version_compare (PHP_VERSION , '8.4 ' , '>= ' )) {
19- print PHP_EOL . 'This app can be run only on PHP 8.3+ ' . PHP_EOL ;
19+ print PHP_EOL . 'Building docs can be run only on the lowest supported version of PHP: 8.3 ' . PHP_EOL ;
2020
2121 exit (1 );
2222}
You can’t perform that action at this time.
0 commit comments