-
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
6 changed files
with
93 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM php:8.0.29-fpm | ||
FROM php:8.0.30-fpm | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
libfreetype6-dev \ | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM php:8.1.20-fpm | ||
FROM php:8.1.27-fpm | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
libfreetype6-dev \ | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM php:8.2.7-fpm | ||
FROM php:8.2.15-fpm | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
libfreetype6-dev \ | ||
|
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,66 @@ | ||
FROM php:8.3.2-fpm | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
libfreetype6-dev \ | ||
libjpeg62-turbo-dev \ | ||
libmcrypt-dev \ | ||
libpng-dev \ | ||
zlib1g-dev \ | ||
libxml2-dev \ | ||
libzip-dev \ | ||
libonig-dev \ | ||
graphviz \ | ||
libicu-dev \ | ||
ghostscript \ | ||
supervisor \ | ||
dos2unix mc htop nano wget nginx \ | ||
|
||
# Nodejs | ||
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ | ||
&& apt-get install -y nodejs \ | ||
&& npm install -g yarn \ | ||
|
||
# GD | ||
&& docker-php-ext-configure gd \ | ||
--with-freetype=/usr/include/ \ | ||
--with-jpeg=/usr/include/ \ | ||
--with-freetype=/usr/include/ \ | ||
&& docker-php-ext-install gd \ | ||
|
||
# Swoole | ||
&& pecl install swoole \ | ||
&& docker-php-ext-enable swoole \ | ||
|
||
# Redis | ||
&& pecl install -o -f redis \ | ||
&& rm -rf /tmp/pear \ | ||
&& docker-php-ext-enable redis \ | ||
|
||
&& docker-php-ext-install pdo_mysql \ | ||
&& docker-php-ext-install zip \ | ||
&& docker-php-ext-install intl \ | ||
&& docker-php-ext-install exif \ | ||
&& docker-php-ext-install sockets \ | ||
&& docker-php-ext-install pcntl \ | ||
&& docker-php-source delete \ | ||
|
||
# Postgresql | ||
&& apt-get install -y libpq-dev \ | ||
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \ | ||
&& docker-php-ext-install pdo pdo_pgsql pgsql \ | ||
|
||
# Composer | ||
&& curl -sS https://getcomposer.org/installer | php -- \ | ||
--install-dir=/usr/local/bin --filename=composer \ | ||
|
||
# Aliases | ||
&& echo "\ | ||
alias 'p=/var/www/app/vendor/bin/phpunit' \n\ | ||
alias 'pf=/var/www/app/vendor/bin/phpunit --filter' \n\ | ||
" >> ~/.bashrc | ||
|
||
WORKDIR /var/www/app/ | ||
|
||
EXPOSE 9000 | ||
|
||
CMD ["php-fpm"] |