Skip to content

Commit 77968da

Browse files
Merge pull request #61 from weierophinney/feature/ondrej-8.1-build
Switch to Sury repo for PHP 8.1
2 parents a94dd6d + d456fe9 commit 77968da

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ RUN for INSTALLER in /mods-install/*.sh;do ${INSTALLER} ; done
4141

4242
RUN mkdir -p /etc/laminas-ci/problem-matcher \
4343
&& cd /etc/laminas-ci/problem-matcher \
44-
&& wget https://raw.githubusercontent.com/shivammathur/setup-php/master/src/configs/phpunit.json \
44+
&& wget https://raw.githubusercontent.com/shivammathur/setup-php/master/src/configs/pm/phpunit.json \
4545
&& wget -O markdownlint.json https://raw.githubusercontent.com/xt0rted/markdownlint-problem-matcher/main/.github/problem-matcher.json
4646

4747
COPY etc/markdownlint.json /etc/laminas-ci/markdownlint.json

setup/php/8.1/dependencies

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
php8.1-cli
2+
php8.1-bz2
3+
php8.1-curl
4+
php8.1-dev
5+
php8.1-fileinfo
6+
php8.1-intl
7+
php8.1-mbstring
8+
php8.1-phar
9+
php8.1-phpdbg
10+
php8.1-readline
11+
php8.1-sockets
12+
php8.1-xml
13+
php8.1-xsl
14+
php8.1-zip

setup/php/8.1/setup.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
#!/bin/bash
22

3-
curl -sSLO https://github.com/shivammathur/php-builder/releases/latest/download/install.sh
4-
chmod a+x ./install.sh
5-
./install.sh 8.1
6-
7-
# Prepares the configuration the same way as mods-install/install_sqlsrv.sh would do
8-
cat /etc/php/8.1/mods-available/pdo_sqlsrv.ini >> /etc/php/8.1/mods-available/sqlsrv.ini
9-
rm /etc/php/8.1/mods-available/pdo_sqlsrv.ini
3+
ACCEPT_EULA=Y xargs -a dependencies apt install -y

0 commit comments

Comments
 (0)