Skip to content
Snippets Groups Projects
Commit f1901644 authored by CANALS Gerome's avatar CANALS Gerome
Browse files

latest : 8.3

parent c24ed8fe
Branches
No related tags found
No related merge requests found
......@@ -9,8 +9,9 @@ un ensemble de services correspondant à un environnement de *développement* we
### images php docker
Des images docker pour [php/apache](php), disponibles [ici](https://hub.docker.com/r/canals/php/).
+ deux version php8.2 + apache (latest)
+ deux version php8.1 + apache
+ deux versions php8.3 + apache (latest)
+ deux versions php8.2 + apache
+ deux versions php8.1 + apache
+ une version php8.1 cli
+ une version php8.0 + apache
+ une version php8.0 cli
......
# Use an official PHP runtime as a base image
FROM canals/php:8.3
RUN apt-get update && \
apt-get install --yes --force-yes \
libkrb5-dev \
libxml2-dev libfreetype6-dev \
libgd-dev libmcrypt-dev bzip2 \
libbz2-dev libxslt-dev
# PHP Configuration
RUN docker-php-ext-install bcmath bz2 calendar dba soap xsl
RUN docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp &&\
docker-php-ext-install gd
RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl &&\
docker-php-ext-install imap
RUN docker-php-ext-configure hash --with-mhash
# Imagemagick : install fails on 8.0
#RUN apt-get install --yes --force-yes libmagickwand-dev libmagickcore-dev
#RUN pecl install imagick &&\
# docker-php-ext-enable imagick
#
##RUN yes '' | pecl install -f imagick &&\
## docker-php-ext-enable imagick
# canals/php:8.3-ext
Version étendue avec plusieurs extensions supplémentaires.
## Image docker PHP
Basée sur l'image `canals/php:8.3`
### Extensions PHP installées :
+ exif, gettext, iconv, zip, sockets, bcmath, bz2,
+ calendar, exif, soap, tidy, xsl, intl, tidy,
+ dba, mysqli, pgsql, pdo_mysql, pdo_pgsql
+ gd, imap, hash
+ mongodb, redis
+ xdebug
......@@ -16,9 +16,9 @@ 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 &&\
# echo "xdebug.mode=debug" >> /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 xdebug && docker-php-ext-enable xdebug &&\
echo "xdebug.mode=debug" >> /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 \
......
# canals/php:8.2, latest
# canals/php:8.3, latest
## Image docker PHP
Basée sur l'image officielle `php:8.3-apache`
......@@ -8,6 +8,6 @@ Basée sur l'image officielle `php:8.3-apache`
+ dba, mysqli, pgsql, pdo_mysql, pdo_pgsql
+ mongodb, redis
### Note : XDdebug non installé, car non compatible avec PHP 8.3
......@@ -11,8 +11,9 @@ Le dockerfile s'inspire de [celui-ci](https://hub.docker.com/r/lavoweb/php-5.6/)
[vaprobash](https://github.com/fideloper/Vaprobash)
### tag
+ `8.3` : image pour php 8.3 + apache, basée sur l'image officielle `php:8.3-apache`, pour l'instant sans xdebug, non compatible avec php 8.3
+ `8.2`, `latest` : image pour php 8.2 + apache, basée sur l'image officielle `php:8.2-apache`
+ `8.3`, `latest` : image pour php 8.3 + apache, basée sur l'image officielle `php:8.3-apache`
+ `8.3-ext` : la même, mais avec une liste plus importante d'extensions (détails dans les README spécifiques)
+ `8.2` : image pour php 8.2 + apache, basée sur l'image officielle `php:8.2-apache`
+ `8.2-ext` : la même, mais avec une liste plus importante d'extensions (détails dans les README spécifiques)
+ `8.2-cli` : image pour php 8.2 cli, sans apache, basée sur l'image officielle `php:8.2-cli`
+ `8.1` : image pour php 8.1 + apache, basée sur l'image officielle `php:8.1-apache`, `DEPRECATED`
......@@ -35,7 +36,7 @@ Le répertoire [test](test) contient des fichiers docker-compose pour vérifier
### contenu des images
#### apache (`8.2`,`8.1`,`8.0`, `7.4`, `latest`, `7.3`, `7.2` , `7.1` , `5.6` ):
#### apache (`8.3`,`8.2`,`8.1`,`8.0`, `7.4`, `latest`, `7.3`, `7.2` , `7.1` , `5.6` ):
+ apache 2.4, modules `mod_rewrite` et `mod_ssl` activés,
+ un vhost par défaut sure le port 80, docroot `/var/www/html`
......@@ -46,7 +47,7 @@ Le répertoire [test](test) contient des fichiers docker-compose pour vérifier
#### php :
+ php8.2, php8.1, php8.0, php7.4, php7.3, php7.2, php7.1 ou 5.6 cli et sous forme de module apache dans les images apache (`mod_php7`)
+ php8.3, php8.2, php8.1, php8.0, php7.4, php7.3, php7.2, php7.1 ou 5.6 cli et sous forme de module apache dans les images apache (`mod_php8`,`mod_php7`)
+ extensions : `mbstring`, `curl`, `ftp`, `openssl`, `zlib`, `bcmath`, `bz2`, `calendar`, `dba`, `exif`, `sockets`,
`gd`, `gettext`, `imap`, `intl`, `soap`, `tidy`, `xmlrpc` (non installé sur 8.x), `xsl`, `zip`, `imagick` (non installé sur 8.0)
+ PDO : `pdo`, `pdo_mysql`, `pdo_sqlite`, `pdo_pgsql`
......
8.3
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment