-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
29 additions
and
2 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
File renamed without changes.
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,27 @@ | ||
FROM php:8.2.12-fpm | ||
|
||
RUN apt-get update && \ | ||
apt-get install libicu-dev libxslt1-dev libffi-dev libpq-dev libgmp-dev \ | ||
&& docker-php-ext-install opcache \ | ||
# Number formatting in our own application templates requires intl. | ||
intl \ | ||
# symfony/messenger requires PCNTL for graceful shutdown of queue workers. | ||
pcntl \ | ||
# Pheanstalk requires sockets extension otherwise it throws SocketException with "Unknown error" (CLUB-250-B6). | ||
sockets \ | ||
# lorenzo/pinky requires XSL extension. | ||
xsl \ | ||
# amphp/hpack can benefit from FFI extension. | ||
ffi \ | ||
# amphp/postgres requires either pecl-pq or ext-pgsql. | ||
pgsql \ | ||
# Phinx requires pdo_pgsql extension. | ||
pdo_pgsql \ | ||
# xpaw/steamid requires GMP extension. | ||
gmp \ | ||
# All dev packages can be removed post-compile, however the main packages cannot. | ||
&& apt-get purge libicu-dev libxslt1-dev libffi-dev libpq-dev libgmp-dev | ||
|
||
# Install Composer. | ||
RUN wget https://raw.githubusercontent.com/composer/getcomposer.org/main/web/installer -qO- |\ | ||
php -- --install-dir /usr/local/bin --filename composer |