-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix asserts, add Dockerfile for PHP 8.4
- Loading branch information
1 parent
a103cfe
commit 5169675
Showing
5 changed files
with
108 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM php:8.4.0beta4-cli | ||
|
||
# MSSQL | ||
RUN apt update \ | ||
&& apt install -y gnupg2 \ | ||
&& apt install -y unixodbc-dev unixodbc \ | ||
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \ | ||
&& curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | tee /etc/apt/sources.list.d/mssql-tools.list \ | ||
&& apt update \ | ||
&& ACCEPT_EULA=Y apt install -y msodbcsql17 \ | ||
&& pecl install sqlsrv \ | ||
&& pecl install pdo_sqlsrv \ | ||
&& docker-php-ext-enable sqlsrv pdo_sqlsrv | ||
|
||
RUN set -ex \ | ||
&& apt update \ | ||
&& apt install -y bash zip libpq-dev libsqlite3-dev \ | ||
&& pecl install xdebug-3.4 mongodb \ | ||
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \ | ||
&& docker-php-ext-install pdo mysqli pgsql pdo_mysql pdo_pgsql pdo_sqlite \ | ||
&& docker-php-ext-enable mongodb # TODO xdebug not yet supported here | ||
|
||
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters