-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from kilvn/feat-php8.3
Feat php8.3
- Loading branch information
Showing
3 changed files
with
56 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# | ||
#-------------------------------------------------------------------------- | ||
# Image Setup | ||
#-------------------------------------------------------------------------- | ||
# | ||
|
||
FROM php:8.3-fpm | ||
|
||
# Set Environment Variables | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
# | ||
#-------------------------------------------------------------------------- | ||
# Software's Installation | ||
#-------------------------------------------------------------------------- | ||
# | ||
# Installing tools and PHP extentions using "apt", "docker-php", "pecl", | ||
# | ||
|
||
# Install "curl", "libmemcached-dev", "libpq-dev", "libjpeg-dev", | ||
# "libpng-dev", "libfreetype6-dev", "libssl-dev", "libmcrypt-dev", | ||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get upgrade -y; \ | ||
apt-get install -y --no-install-recommends \ | ||
curl \ | ||
libmemcached-dev \ | ||
libz-dev \ | ||
libpq-dev \ | ||
libjpeg-dev \ | ||
libpng-dev \ | ||
libfreetype6-dev \ | ||
libssl-dev \ | ||
libwebp-dev \ | ||
libxpm-dev \ | ||
libmcrypt-dev \ | ||
libonig-dev; \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN set -eux; \ | ||
# Install the PHP pdo_mysql extention | ||
docker-php-ext-install pdo_mysql; \ | ||
# Install the PHP pdo_pgsql extention | ||
docker-php-ext-install pdo_pgsql; \ | ||
# Install the PHP gd library | ||
docker-php-ext-configure gd \ | ||
--prefix=/usr \ | ||
--with-jpeg \ | ||
--with-webp \ | ||
--with-xpm \ | ||
--with-freetype; \ | ||
docker-php-ext-install gd; \ | ||
php -r 'var_dump(gd_info());' |