|
@@ -1,6 +1,6 @@
|
|
|
services:
|
|
|
database:
|
|
|
- image: mysql:5.5
|
|
|
+ image: mysql:5.7
|
|
|
command: '--sql_mode=ALLOW_INVALID_DATES,ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'
|
|
|
environment:
|
|
|
- MYSQL_ROOT_PASSWORD=
|
|
@@ -11,10 +11,10 @@ services:
|
|
|
|
|
|
pipeline:
|
|
|
build:
|
|
|
- image: debian:8.0
|
|
|
+ image: debian:9.0
|
|
|
commands:
|
|
|
- echo 'Acquire::http { Proxy "http://200.50.168.30:3142"; };' > /etc/apt/apt.conf.d/01proxy
|
|
|
- - apt-get update && apt-get install -yq build-essential git unzip php5-cli php5-mysql wget mysql-client php5-curl
|
|
|
+ - apt-get update && apt-get install -yq build-essential git php7.0-cli php7.0-mysql mysql-client php7.0-curl php7.0-xml php7.0-bcmath php7.0-mbstring
|
|
|
|
|
|
- yes | mysqladmin -h 127.0.0.1 create fd3_stats
|
|
|
- yes | mysqladmin -h 127.0.0.1 create fd_session
|