Downgraded pdo_sqlsrv version for PHP 8.0

This commit is contained in:
Alejandro Celaya 2021-09-26 10:19:26 +02:00
parent 42dbeaa1a5
commit fb26a8ae50
4 changed files with 12 additions and 3 deletions

View file

@ -190,12 +190,21 @@ jobs:
- name: Start database server - name: Start database server
run: docker-compose -f docker-compose.yml -f docker-compose.ci.yml up -d shlink_db_ms run: docker-compose -f docker-compose.yml -f docker-compose.ci.yml up -d shlink_db_ms
- name: Use PHP - name: Use PHP
if: ${{ matrix.php-version == '8.1' }}
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
php-version: ${{ matrix.php-version }} php-version: ${{ matrix.php-version }}
tools: composer tools: composer
extensions: swoole-4.7.1, pdo_sqlsrv-5.10.0beta1 extensions: swoole-4.7.1, pdo_sqlsrv-5.10.0beta1
coverage: none coverage: none
- name: Use PHP
if: ${{ matrix.php-version == '8.1' }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer
extensions: swoole-4.7.1, pdo_sqlsrv-5.9.0
coverage: none
- if: ${{ matrix.php-version == '8.1' }} - if: ${{ matrix.php-version == '8.1' }}
run: composer install --no-interaction --prefer-dist --ignore-platform-req=php run: composer install --no-interaction --prefer-dist --ignore-platform-req=php
- if: ${{ matrix.php-version != '8.1' }} - if: ${{ matrix.php-version != '8.1' }}

View file

@ -3,7 +3,7 @@ FROM php:8.0.9-alpine3.14 as base
ARG SHLINK_VERSION=latest ARG SHLINK_VERSION=latest
ENV SHLINK_VERSION ${SHLINK_VERSION} ENV SHLINK_VERSION ${SHLINK_VERSION}
ENV SWOOLE_VERSION 4.7.1 ENV SWOOLE_VERSION 4.7.1
ENV PDO_SQLSRV_VERSION 5.10.0beta1 ENV PDO_SQLSRV_VERSION 5.9.0
ENV MS_ODBC_SQL_VERSION 17.5.2.2 ENV MS_ODBC_SQL_VERSION 17.5.2.2
ENV LC_ALL "C" ENV LC_ALL "C"

View file

@ -2,7 +2,7 @@ FROM php:8.0.9-fpm-alpine3.14
MAINTAINER Alejandro Celaya <alejandro@alejandrocelaya.com> MAINTAINER Alejandro Celaya <alejandro@alejandrocelaya.com>
ENV APCU_VERSION 5.1.20 ENV APCU_VERSION 5.1.20
ENV PDO_SQLSRV_VERSION 5.10.0beta1 ENV PDO_SQLSRV_VERSION 5.9.0
ENV MS_ODBC_SQL_VERSION 17.5.2.2 ENV MS_ODBC_SQL_VERSION 17.5.2.2
RUN apk update RUN apk update

View file

@ -4,7 +4,7 @@ MAINTAINER Alejandro Celaya <alejandro@alejandrocelaya.com>
ENV APCU_VERSION 5.1.20 ENV APCU_VERSION 5.1.20
ENV INOTIFY_VERSION 3.0.0 ENV INOTIFY_VERSION 3.0.0
ENV SWOOLE_VERSION 4.7.1 ENV SWOOLE_VERSION 4.7.1
ENV PDO_SQLSRV_VERSION 5.10.0beta1 ENV PDO_SQLSRV_VERSION 5.9.0
ENV MS_ODBC_SQL_VERSION 17.5.2.2 ENV MS_ODBC_SQL_VERSION 17.5.2.2
RUN apk update RUN apk update