Skip to content
Open
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
6 changes: 3 additions & 3 deletions layers/sqlsrv/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ RUN dnf -y install unixODBC-devel-2.3.9-3.amzn2023.0.3.x86_64
RUN curl -fsSL https://packages.microsoft.com/config/rhel/9/prod.repo > /etc/yum.repos.d/mssql-release.repo
RUN ACCEPT_EULA=Y dnf -y install msodbcsql18-18.6.1.1-1.x86_64

RUN if [ "$PHP_VERSION" = "84" ]; \
then SQLSRV_VERSION=5.13.0beta1 ; \
else SQLSRV_VERSION=5.12.0 ; \
RUN if [ "$PHP_VERSION" = "82" ]; \
then SQLSRV_VERSION=5.12.0 ; \
else SQLSRV_VERSION=5.13.0 ; \
fi ; \
pecl install sqlsrv-${SQLSRV_VERSION} && \
pecl install pdo_sqlsrv-${SQLSRV_VERSION}
Expand Down
3 changes: 2 additions & 1 deletion layers/sqlsrv/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"php": [
"82",
"83",
"84"
"84",
"85"
]
}
Loading