Add testing docker container based on PHP 5.4

This commit is contained in:
Max Pozdeev 2021-06-27 15:59:31 +03:00
parent e022bf5d85
commit f2d45b570d
4 changed files with 24 additions and 0 deletions

View file

@ -19,3 +19,6 @@ insert_final_newline = false
[/version.txt]
insert_final_newline = false
[*.yml]
indent_style = space

View file

@ -0,0 +1,4 @@
FROM php:5.4-apache
RUN docker-php-ext-install mysqli

View file

@ -0,0 +1,11 @@
version: '3'
services:
web:
build: ./
image: mtt-php5.4-apache
container_name: mtt-php54-apache
ports:
- "8080:80"
volumes:
- ../../src:/var/www/html
- ./php-mtt.ini:/usr/local/etc/php/conf.d/php-mtt.ini

View file

@ -0,0 +1,6 @@

# Since PHP 5.4 E_STRICT is included in E_ALL
error_reporting = E_ALL
#log_errors = On
#display_errors = On