Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker-php
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CANALS Gerome
docker-php
Commits
5ff66cd6
Commit
5ff66cd6
authored
7 months ago
by
CANALS Gerome
Browse files
Options
Downloads
Patches
Plain Diff
8.3-franken
parent
f1901644
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
php/8.3-franken/Dockerfile
+53
-0
53 additions, 0 deletions
php/8.3-franken/Dockerfile
php/8.3-franken/README.md
+13
-0
13 additions, 0 deletions
php/8.3-franken/README.md
php/8.3-franken/php.ini
+1084
-0
1084 additions, 0 deletions
php/8.3-franken/php.ini
with
1150 additions
and
0 deletions
php/8.3-franken/Dockerfile
0 → 100644
+
53
−
0
View file @
5ff66cd6
# Use an official PHP runtime as a base image
FROM
dunglas/frankenphp
#RUN apt-get update && \
# apt-get install --yes --force-yes \
# cron g++ gettext libicu-dev openssl \
# libc-client-dev libmcrypt-dev \
# libtidy-dev libcurl4-openssl-dev \
# libz-dev libmemcached-dev git-core libpq-dev \
# libzip4 libzip-dev libwebp-dev
# # libxml2-dev libfreetype6-dev \
RUN
install-php-extensions gettext iconv intl tidy zip sockets
RUN
install-php-extensions pgsql mysqli pdo_mysql pdo_pgsql
RUN
install-php-extensions mongodb redis
RUN
install-php-extensions xdebug opcache
# PHP Configuration
#RUN docker-php-ext-install gettext iconv intl tidy zip sockets
#RUN docker-php-ext-install pgsql mysqli
#RUN docker-php-ext-install pdo_mysql
#RUN docker-php-ext-install pdo_pgsql
#RUN pecl install xdebug && docker-php-ext-enable xdebug &&\
RUN
echo
"xdebug.mode=develop,debug,trace"
>>
/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
&&
\
echo
"xdebug.client_host=host.docker.internal"
>>
/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
#RUN pecl install mongodb && docker-php-ext-enable mongodb
#RUN pecl install redis && docker-php-ext-enable redis
RUN
curl
-sS
https://getcomposer.org/installer | php
\
&&
mv
composer.phar /usr/bin/composer
# docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp &&\
# docker-php-ext-install gd &&\
# Apache Configuration
#RUN a2enmod rewrite
# SSL
#RUN mv /etc/apache2/sites-available/default-ssl.conf /etc/apache2/sites-available/000-default-ssl.conf &&\
# a2enmod ssl && \
# a2ensite 000-default-ssl &&\
# openssl req -subj '/CN=example.com/O=My Company Name LTD./C=US' -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout /etc/ssl/private/ssl-cert-snakeoil.key -out /etc/ssl/certs/ssl-cert-snakeoil.pem
#
#EXPOSE 80
#EXPOSE 443
## Imagemagick : install fails on 8.0
#RUN apt-get install --yes --force-yes libmagickwand-dev libmagickcore-dev
#RUN yes '' | pecl install -f imagick &&\
# docker-php-ext-enable imagick
#COPY create_vhost config-vhost start /usr/local/bin/
COPY
php.ini /usr/local/etc/php/
This diff is collapsed.
Click to expand it.
php/8.3-franken/README.md
0 → 100644
+
13
−
0
View file @
5ff66cd6
# canals/php:8.3, latest
## Image docker PHP
Basée sur l'image officielle
`php:8.3-apache`
### Extensions PHP installées :
+
exif, gettext, iconv, intl, tidy, zip, sockets
+
dba, mysqli, pgsql, pdo_mysql, pdo_pgsql
+
mongodb, redis
This diff is collapsed.
Click to expand it.
php/8.3-franken/php.ini
0 → 100644
+
1084
−
0
View file @
5ff66cd6
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment