Skip to content

Switch to Sury repo for PHP 8.1 #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ RUN for INSTALLER in /mods-install/*.sh;do ${INSTALLER} ; done

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

COPY etc/markdownlint.json /etc/laminas-ci/markdownlint.json
Expand Down
14 changes: 14 additions & 0 deletions setup/php/8.1/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
php8.1-cli
php8.1-bz2
php8.1-curl
php8.1-dev
php8.1-fileinfo
php8.1-intl
php8.1-mbstring
php8.1-phar
php8.1-phpdbg
php8.1-readline
php8.1-sockets
php8.1-xml
php8.1-xsl
php8.1-zip
8 changes: 1 addition & 7 deletions setup/php/8.1/setup.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
#!/bin/bash

curl -sSLO https://github.com/shivammathur/php-builder/releases/latest/download/install.sh
chmod a+x ./install.sh
./install.sh 8.1

# Prepares the configuration the same way as mods-install/install_sqlsrv.sh would do
cat /etc/php/8.1/mods-available/pdo_sqlsrv.ini >> /etc/php/8.1/mods-available/sqlsrv.ini
rm /etc/php/8.1/mods-available/pdo_sqlsrv.ini
ACCEPT_EULA=Y xargs -a dependencies apt install -y