File tree 9 files changed +58
-78
lines changed
9 files changed +58
-78
lines changed Original file line number Diff line number Diff line change @@ -1480,11 +1480,9 @@ The `customControllers` config supports a comma separated list of custom control
1480
1480
I am testing mainly on Ubuntu and I have the following test setups:
1481
1481
1482
1482
- (Docker) Ubuntu 16.04 with PHP 7.0, MariaDB 10.0, PostgreSQL 9.5 (PostGIS 2.2) and SQL Server 2017
1483
- - (Docker) Debian 9 with PHP 7.0, MariaDB 10.1, PostgreSQL 9.6 (PostGIS 2.3) and SQLite 3.16
1484
1483
- (Docker) Ubuntu 18.04 with PHP 7.2, MySQL 5.7, PostgreSQL 10.4 (PostGIS 2.4) and SQLite 3.22
1485
1484
- (Docker) Debian 10 with PHP 7.3, MariaDB 10.3, PostgreSQL 11.4 (PostGIS 2.5) and SQLite 3.27
1486
- - (Docker) Ubuntu 20.04 with PHP 7.4, MySQL 8.0, PostgreSQL 12.2 (PostGIS 3.0) and SQL Server 2019 and SQLite 3.31
1487
- - (Docker) CentOS 8 with PHP 8.1, MariaDB 10.7, PostgreSQL 12.10 (PostGIS 3.0) and SQLite 3.26
1485
+ - (Docker) Ubuntu 20.04 with PHP 7.4, MySQL 8.0, PostgreSQL 12.15 (PostGIS 3.0) and SQL Server 2019 and SQLite 3.31
1488
1486
- (Docker) Debian 11 with PHP 7.4, MariaDB 10.5, PostgreSQL 13.4 (PostGIS 3.1) and SQLite 3.34
1489
1487
- (Docker) Ubuntu 22.04 with PHP 8.1, MySQL 8.0, PostgreSQL 14.2 (PostGIS 3.2) and SQLite 3.37
1490
1488
- (Docker) Debian 12 with PHP 8.2, MariaDB 10.11, PostgreSQL 15.3 (PostGIS 3.3) and SQLite 3.40
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# Delete all containers
3
- docker rm $( docker ps -a -q)
3
+ docker rm -f $( docker ps -a -q)
4
4
# Delete all images
5
- docker rmi $( docker images -q)
5
+ docker rmi -f $( docker images -q)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ FROM rockylinux:8
2
+
3
+ RUN dnf -y install 'dnf-command(config-manager)'
4
+ RUN dnf config-manager --set-enabled powertools
5
+ RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
6
+ RUN dnf -qy module disable postgresql
7
+ RUN dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
8
+
9
+ RUN dnf -y install \
10
+ php-cli php-xml php-json php-mbstring \
11
+ mariadb-server mariadb php-mysqlnd \
12
+ postgresql14-server postgresql14 php-pgsql \
13
+ sqlite php-sqlite3 postgis32_14 \
14
+ git wget
15
+
16
+ # install run script
17
+ ADD run.sh /usr/sbin/docker-run
18
+ CMD docker-run
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ FROM rockylinux:9
2
+
3
+ RUN dnf -y install 'dnf-command(config-manager)'
4
+ RUN dnf config-manager --set-enabled crb
5
+ RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
6
+ RUN dnf -qy module disable postgresql
7
+ RUN dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
8
+
9
+ RUN dnf -y install \
10
+ php-cli php-xml php-json php-mbstring \
11
+ mariadb-server mariadb php-mysqlnd \
12
+ postgresql15-server postgresql15 php-pgsql \
13
+ sqlite php-sqlite3 postgis33_15 \
14
+ git wget
15
+
16
+ # install run script
17
+ ADD run.sh /usr/sbin/docker-run
18
+ CMD docker-run
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
echo " ================================================"
3
- echo " Debian 9 (PHP 7.0 )"
3
+ echo " CentOS 8 (PHP 8.1 )"
4
4
echo " ================================================"
5
-
6
- echo -n " [1/4] Starting MariaDB 10.1 ..... "
7
- # make sure mysql can create socket and lock
8
- mkdir /var/run/mysqld && chmod 777 /var/run/mysqld
5
+ echo -n " [1/4] Starting MariaDB 10.7 ..... "
6
+ # initialize mysql
7
+ mysql_install_db > /dev/null
8
+ chown -R mysql:mysql /var/lib/mysql
9
9
# run mysql server
10
- nohup mysqld > /root/mysql.log 2>&1 &
10
+ nohup /usr/sbin/ mysqld -u mysql > /root/mysql.log 2>&1 &
11
11
# wait for mysql to become available
12
12
while ! mysqladmin ping -hlocalhost > /dev/null 2>&1 ; do
13
13
sleep 1
@@ -21,9 +21,11 @@ FLUSH PRIVILEGES;
21
21
EOF
22
22
echo " done"
23
23
24
- echo -n " [2/4] Starting PostgreSQL 9.6 ... "
24
+ echo -n " [2/4] Starting PostgreSQL 12.10 .. "
25
+ # initialize postgresql
26
+ su - -c " /usr/pgsql-12/bin/initdb --auth-local peer --auth-host password -D /var/lib/pgsql/data" postgres > /dev/null
25
27
# run postgres server
26
- nohup su - -c " /usr/lib/postgresql/9.6/ bin/postgres -D /etc/postgresql/9.6/main " postgres > /root/postgres.log 2>&1 &
28
+ nohup su - -c " /usr/pgsql-12/ bin/postgres -D /var/lib/pgsql/data " postgres > /root/postgres.log 2>&1 &
27
29
# wait for postgres to become available
28
30
until su - -c " psql -U postgres -c '\q'" postgres > /dev/null 2>&1 ; do
29
31
sleep 1;
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ ARG DEBIAN_FRONTEND=noninteractive
4
4
5
5
# install: php / mysql / postgres / sqlite / tools / mssql deps
6
6
RUN apt-get update && apt-get -y install \
7
- php-cli php-xml php-mbstring \
8
- mysql-server mysql-client php-mysql \
9
- postgresql php-pgsql \
10
- postgresql-12-postgis-3 \
11
- sqlite3 php-sqlite3 \
12
- git wget \
13
- curl gnupg
7
+ php-cli php-xml php-mbstring \
8
+ mysql-server mysql-client php-mysql \
9
+ postgresql php-pgsql \
10
+ postgresql-12-postgis-3 \
11
+ sqlite3 php-sqlite3 \
12
+ git wget \
13
+ curl gnupg
14
14
15
15
# adding custom MS repository
16
16
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
@@ -24,7 +24,8 @@ RUN ACCEPT_EULA=Y apt-get install -y msodbcsql17 mssql-tools
24
24
25
25
# install pdo_sqlsrv
26
26
RUN apt-get -y install php-pear build-essential unixodbc-dev php-dev
27
- RUN pecl install pdo_sqlsrv
27
+ RUN pecl channel-update pecl.php.net
28
+ RUN pecl install pdo_sqlsrv-5.10.1
28
29
RUN echo extension=pdo_sqlsrv.so > /etc/php/7.4/mods-available/pdo_sqlsrv.ini
29
30
RUN phpenmod pdo_sqlsrv
30
31
You can’t perform that action at this time.
0 commit comments