Merge remote-tracking branch 'origin/master' into master-fork
This commit is contained in:
commit
e5ea20f0fb
24
.env.example
24
.env.example
|
@ -38,8 +38,8 @@ COMPOSE_PROJECT_NAME=laradock
|
||||||
### PHP Version ###########################################
|
### PHP Version ###########################################
|
||||||
|
|
||||||
# Select a PHP version of the Workspace and PHP-FPM containers (Does not apply to HHVM).
|
# Select a PHP version of the Workspace and PHP-FPM containers (Does not apply to HHVM).
|
||||||
# Accepted values: 8.0 - 7.4 - 7.3 - 7.2 - 7.1 - 7.0 - 5.6
|
# Accepted values: 8.1 - 8.0 - 7.4 - 7.3 - 7.2 - 7.1 - 7.0 - 5.6
|
||||||
PHP_VERSION=7.3
|
PHP_VERSION=7.4
|
||||||
|
|
||||||
### Phalcon Version ###########################################
|
### Phalcon Version ###########################################
|
||||||
|
|
||||||
|
@ -74,8 +74,6 @@ COMPOSE_CONVERT_WINDOWS_PATHS=1
|
||||||
|
|
||||||
# If you need to change the sources (i.e. to China), set CHANGE_SOURCE to true
|
# If you need to change the sources (i.e. to China), set CHANGE_SOURCE to true
|
||||||
CHANGE_SOURCE=false
|
CHANGE_SOURCE=false
|
||||||
# Set CHANGE_SOURCE and UBUNTU_SOURCE option if you want to change the Ubuntu system sources.list file.
|
|
||||||
UBUNTU_SOURCE=aliyun
|
|
||||||
# Set ORACLE INSTANT_CLIENT_MIRROR option if you want to use Intranet improve download, you can download files first
|
# Set ORACLE INSTANT_CLIENT_MIRROR option if you want to use Intranet improve download, you can download files first
|
||||||
ORACLE_INSTANT_CLIENT_MIRROR=https://github.com/diogomascarenha/oracle-instantclient/raw/master/
|
ORACLE_INSTANT_CLIENT_MIRROR=https://github.com/diogomascarenha/oracle-instantclient/raw/master/
|
||||||
|
|
||||||
|
@ -101,7 +99,7 @@ SHELL_OH_MY_ZSH_ALIASES=false
|
||||||
WORKSPACE_BASE_IMAGE_TAG_PREFIX=latest
|
WORKSPACE_BASE_IMAGE_TAG_PREFIX=latest
|
||||||
WORKSPACE_COMPOSER_GLOBAL_INSTALL=true
|
WORKSPACE_COMPOSER_GLOBAL_INSTALL=true
|
||||||
WORKSPACE_COMPOSER_VERSION=2
|
WORKSPACE_COMPOSER_VERSION=2
|
||||||
WORKSPACE_COMPOSER_AUTH=false
|
WORKSPACE_COMPOSER_AUTH_JSON=false
|
||||||
WORKSPACE_COMPOSER_REPO_PACKAGIST=
|
WORKSPACE_COMPOSER_REPO_PACKAGIST=
|
||||||
WORKSPACE_NVM_NODEJS_ORG_MIRROR=
|
WORKSPACE_NVM_NODEJS_ORG_MIRROR=
|
||||||
WORKSPACE_INSTALL_NODE=true
|
WORKSPACE_INSTALL_NODE=true
|
||||||
|
@ -136,6 +134,7 @@ WORKSPACE_INSTALL_IMAP=false
|
||||||
WORKSPACE_INSTALL_MONGO=false
|
WORKSPACE_INSTALL_MONGO=false
|
||||||
WORKSPACE_INSTALL_AMQP=false
|
WORKSPACE_INSTALL_AMQP=false
|
||||||
WORKSPACE_INSTALL_CASSANDRA=false
|
WORKSPACE_INSTALL_CASSANDRA=false
|
||||||
|
WORKSPACE_INSTALL_ZMQ=false
|
||||||
WORKSPACE_INSTALL_GEARMAN=false
|
WORKSPACE_INSTALL_GEARMAN=false
|
||||||
WORKSPACE_INSTALL_MSSQL=false
|
WORKSPACE_INSTALL_MSSQL=false
|
||||||
WORKSPACE_INSTALL_DRUSH=false
|
WORKSPACE_INSTALL_DRUSH=false
|
||||||
|
@ -147,6 +146,7 @@ WORKSPACE_INSTALL_OCI8=false
|
||||||
WORKSPACE_INSTALL_V8JS=false
|
WORKSPACE_INSTALL_V8JS=false
|
||||||
WORKSPACE_INSTALL_LARAVEL_ENVOY=false
|
WORKSPACE_INSTALL_LARAVEL_ENVOY=false
|
||||||
WORKSPACE_INSTALL_LARAVEL_INSTALLER=false
|
WORKSPACE_INSTALL_LARAVEL_INSTALLER=false
|
||||||
|
WORKSPACE_INSTALL_XLSWRITER=false
|
||||||
WORKSPACE_INSTALL_DEPLOYER=false
|
WORKSPACE_INSTALL_DEPLOYER=false
|
||||||
WORKSPACE_INSTALL_PRESTISSIMO=false
|
WORKSPACE_INSTALL_PRESTISSIMO=false
|
||||||
WORKSPACE_INSTALL_LINUXBREW=false
|
WORKSPACE_INSTALL_LINUXBREW=false
|
||||||
|
@ -200,6 +200,7 @@ WORKSPACE_INSTALL_PROTOC=false
|
||||||
WORKSPACE_INSTALL_PHPDECIMAL=false
|
WORKSPACE_INSTALL_PHPDECIMAL=false
|
||||||
WORKSPACE_INSTALL_ZOOKEEPER=false
|
WORKSPACE_INSTALL_ZOOKEEPER=false
|
||||||
WORKSPACE_INSTALL_SSDB=false
|
WORKSPACE_INSTALL_SSDB=false
|
||||||
|
WORKSPACE_INSTALL_TRADER=false
|
||||||
WORKSPACE_PROTOC_VERSION=latest
|
WORKSPACE_PROTOC_VERSION=latest
|
||||||
WORKSPACE_INSTALL_MEMCACHED=true
|
WORKSPACE_INSTALL_MEMCACHED=true
|
||||||
|
|
||||||
|
@ -228,6 +229,7 @@ PHP_FPM_INSTALL_IMAP=false
|
||||||
PHP_FPM_INSTALL_MONGO=false
|
PHP_FPM_INSTALL_MONGO=false
|
||||||
PHP_FPM_INSTALL_AMQP=false
|
PHP_FPM_INSTALL_AMQP=false
|
||||||
PHP_FPM_INSTALL_CASSANDRA=false
|
PHP_FPM_INSTALL_CASSANDRA=false
|
||||||
|
PHP_FPM_INSTALL_ZMQ=false
|
||||||
PHP_FPM_INSTALL_GEARMAN=false
|
PHP_FPM_INSTALL_GEARMAN=false
|
||||||
PHP_FPM_INSTALL_MSSQL=false
|
PHP_FPM_INSTALL_MSSQL=false
|
||||||
PHP_FPM_INSTALL_SSH2=false
|
PHP_FPM_INSTALL_SSH2=false
|
||||||
|
@ -261,9 +263,11 @@ PHP_FPM_INSTALL_PING=false
|
||||||
PHP_FPM_INSTALL_SSHPASS=false
|
PHP_FPM_INSTALL_SSHPASS=false
|
||||||
PHP_FPM_INSTALL_MAILPARSE=false
|
PHP_FPM_INSTALL_MAILPARSE=false
|
||||||
PHP_FPM_INSTALL_WKHTMLTOPDF=false
|
PHP_FPM_INSTALL_WKHTMLTOPDF=false
|
||||||
|
PHP_FPM_INSTALL_XLSWRITER=false
|
||||||
PHP_FPM_INSTALL_PHPDECIMAL=false
|
PHP_FPM_INSTALL_PHPDECIMAL=false
|
||||||
PHP_FPM_INSTALL_ZOOKEEPER=false
|
PHP_FPM_INSTALL_ZOOKEEPER=false
|
||||||
PHP_FPM_INSTALL_SSDB=false
|
PHP_FPM_INSTALL_SSDB=false
|
||||||
|
PHP_FPM_INSTALL_TRADER=false
|
||||||
PHP_FPM_FFMPEG=false
|
PHP_FPM_FFMPEG=false
|
||||||
PHP_FPM_AUDIOWAVEFORM=false
|
PHP_FPM_AUDIOWAVEFORM=false
|
||||||
PHP_FPM_ADDITIONAL_LOCALES="en_US.UTF-8 es_ES.UTF-8 fr_FR.UTF-8"
|
PHP_FPM_ADDITIONAL_LOCALES="en_US.UTF-8 es_ES.UTF-8 fr_FR.UTF-8"
|
||||||
|
@ -284,6 +288,7 @@ PHP_FPM_NEW_RELIC_APP_NAME=app_name
|
||||||
|
|
||||||
PHP_WORKER_INSTALL_BZ2=false
|
PHP_WORKER_INSTALL_BZ2=false
|
||||||
PHP_WORKER_INSTALL_GD=false
|
PHP_WORKER_INSTALL_GD=false
|
||||||
|
PHP_WORKER_INSTALL_XLSWRITER=false
|
||||||
PHP_WORKER_INSTALL_IMAGEMAGICK=false
|
PHP_WORKER_INSTALL_IMAGEMAGICK=false
|
||||||
PHP_WORKER_IMAGEMAGICK_VERSION=latest
|
PHP_WORKER_IMAGEMAGICK_VERSION=latest
|
||||||
PHP_WORKER_INSTALL_GMP=false
|
PHP_WORKER_INSTALL_GMP=false
|
||||||
|
@ -295,6 +300,7 @@ PHP_WORKER_INSTALL_BCMATH=false
|
||||||
PHP_WORKER_INSTALL_MEMCACHED=false
|
PHP_WORKER_INSTALL_MEMCACHED=false
|
||||||
# PHP_WORKER_INSTALL_OCI8 Does not work in php5.6 version
|
# PHP_WORKER_INSTALL_OCI8 Does not work in php5.6 version
|
||||||
PHP_WORKER_INSTALL_OCI8=false
|
PHP_WORKER_INSTALL_OCI8=false
|
||||||
|
PHP_WORKER_INSTALL_MSSQL=false
|
||||||
PHP_WORKER_INSTALL_PHALCON=false
|
PHP_WORKER_INSTALL_PHALCON=false
|
||||||
PHP_WORKER_INSTALL_SOAP=false
|
PHP_WORKER_INSTALL_SOAP=false
|
||||||
PHP_WORKER_INSTALL_ZIP_ARCHIVE=false
|
PHP_WORKER_INSTALL_ZIP_ARCHIVE=false
|
||||||
|
@ -442,6 +448,11 @@ POSTGRES_PASSWORD=secret
|
||||||
POSTGRES_PORT=5432
|
POSTGRES_PORT=5432
|
||||||
POSTGRES_ENTRYPOINT_INITDB=./postgres/docker-entrypoint-initdb.d
|
POSTGRES_ENTRYPOINT_INITDB=./postgres/docker-entrypoint-initdb.d
|
||||||
|
|
||||||
|
### POSTGRES-POSTGIS ##############################################
|
||||||
|
|
||||||
|
POSTGIS_VERSION=latest
|
||||||
|
POSTGIS_INSTALL_PGSQL_HTTP_FOR_POSTGIS13=false
|
||||||
|
|
||||||
### SQS ##############################################
|
### SQS ##############################################
|
||||||
|
|
||||||
SQS_NODE_HOST_PORT=9324
|
SQS_NODE_HOST_PORT=9324
|
||||||
|
@ -452,6 +463,7 @@ SQS_MANAGEMENT_HTTP_HOST_PORT=9325
|
||||||
RABBITMQ_NODE_HOST_PORT=5672
|
RABBITMQ_NODE_HOST_PORT=5672
|
||||||
RABBITMQ_MANAGEMENT_HTTP_HOST_PORT=15672
|
RABBITMQ_MANAGEMENT_HTTP_HOST_PORT=15672
|
||||||
RABBITMQ_MANAGEMENT_HTTPS_HOST_PORT=15671
|
RABBITMQ_MANAGEMENT_HTTPS_HOST_PORT=15671
|
||||||
|
RABBITMQ_WEB_STOMP_HOST_PORT=15674
|
||||||
|
|
||||||
### MERCURE ##############################################
|
### MERCURE ##############################################
|
||||||
|
|
||||||
|
@ -613,6 +625,8 @@ RETHINKDB_PORT=8090
|
||||||
### MONGODB ###############################################
|
### MONGODB ###############################################
|
||||||
|
|
||||||
MONGODB_PORT=27017
|
MONGODB_PORT=27017
|
||||||
|
MONGO_USERNAME=root
|
||||||
|
MONGO_PASSWORD=example
|
||||||
|
|
||||||
### CADDY #################################################
|
### CADDY #################################################
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
php_version: [ "5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0" ]
|
php_version: [ "5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1" ]
|
||||||
service: [ php-fpm, php-worker, workspace ]
|
service: [ php-fpm, php-worker, workspace ]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -39,10 +39,12 @@ jobs:
|
||||||
sed -i -- 's/RDKAFKA=true/RDKAFKA=false/g' .env
|
sed -i -- 's/RDKAFKA=true/RDKAFKA=false/g' .env
|
||||||
sed -i -- 's/MAILPARSE=true/MAILPARSE=false/g' .env
|
sed -i -- 's/MAILPARSE=true/MAILPARSE=false/g' .env
|
||||||
sed -i -- 's/OCI8=true/OCI8=false/g' .env
|
sed -i -- 's/OCI8=true/OCI8=false/g' .env
|
||||||
sed -i -- 's/IONCUBE=true/IONCUBE=false/g' .env
|
|
||||||
sed -i -- 's/V8JS=true/V8JS=false/g' .env
|
sed -i -- 's/V8JS=true/V8JS=false/g' .env
|
||||||
sed -i -- 's/AUDIOWAVEFORM=true/AUDIOWAVEFORM=false/g' .env
|
sed -i -- 's/AUDIOWAVEFORM=true/AUDIOWAVEFORM=false/g' .env
|
||||||
sed -i -- 's/SSDB=true/SSDB=false/g' .env
|
sed -i -- 's/SSDB=true/SSDB=false/g' .env
|
||||||
|
sed -i -- 's/ENCHANT=true/ENCHANT=false/g' .env
|
||||||
|
sed -i -- 's/PG_CLIENT=true/PG_CLIENT=false/g' .env
|
||||||
|
sed -i -- 's/MSSQL=true/MSSQL=false/g' .env
|
||||||
docker-compose build ${{ matrix.service }}
|
docker-compose build ${{ matrix.service }}
|
||||||
docker-compose up -d --no-deps -- ${{ matrix.service }}
|
docker-compose up -d --no-deps -- ${{ matrix.service }}
|
||||||
docker-compose exec -T -- ${{ matrix.service }} php -m
|
docker-compose exec -T -- ${{ matrix.service }} php -m
|
||||||
|
|
|
@ -16,6 +16,7 @@ env:
|
||||||
- PHP_VERSION=7.3 BUILD_SERVICE=php-worker
|
- PHP_VERSION=7.3 BUILD_SERVICE=php-worker
|
||||||
- PHP_VERSION=7.4 BUILD_SERVICE=php-worker
|
- PHP_VERSION=7.4 BUILD_SERVICE=php-worker
|
||||||
- PHP_VERSION=8.0 BUILD_SERVICE=php-worker
|
- PHP_VERSION=8.0 BUILD_SERVICE=php-worker
|
||||||
|
- PHP_VERSION=8.1 BUILD_SERVICE=php-worker
|
||||||
|
|
||||||
- PHP_VERSION=7.0 BUILD_SERVICE=laravel-horizon
|
- PHP_VERSION=7.0 BUILD_SERVICE=laravel-horizon
|
||||||
- PHP_VERSION=7.1 BUILD_SERVICE=laravel-horizon
|
- PHP_VERSION=7.1 BUILD_SERVICE=laravel-horizon
|
||||||
|
@ -23,6 +24,7 @@ env:
|
||||||
- PHP_VERSION=7.3 BUILD_SERVICE=laravel-horizon
|
- PHP_VERSION=7.3 BUILD_SERVICE=laravel-horizon
|
||||||
- PHP_VERSION=7.4 BUILD_SERVICE=laravel-horizon
|
- PHP_VERSION=7.4 BUILD_SERVICE=laravel-horizon
|
||||||
- PHP_VERSION=8.0 BUILD_SERVICE=laravel-horizon
|
- PHP_VERSION=8.0 BUILD_SERVICE=laravel-horizon
|
||||||
|
- PHP_VERSION=8.1 BUILD_SERVICE=laravel-horizon
|
||||||
|
|
||||||
- PHP_VERSION=NA BUILD_SERVICE=solr
|
- PHP_VERSION=NA BUILD_SERVICE=solr
|
||||||
- PHP_VERSION=NA BUILD_SERVICE="mssql rethinkdb aerospike"
|
- PHP_VERSION=NA BUILD_SERVICE="mssql rethinkdb aerospike"
|
||||||
|
|
|
@ -914,10 +914,6 @@ run from any cli: <br>`curl -X PURGE https://yourwebsite.com/`.
|
||||||
|
|
||||||
// ...
|
// ...
|
||||||
|
|
||||||
],
|
|
||||||
|
|
||||||
// ...
|
|
||||||
|
|
||||||
],
|
],
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -97,7 +97,7 @@ In China, the origin source of composer and npm is very slow. You can add `WORKS
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
```bash
|
```bash
|
||||||
WORKSPACE_NPM_REGISTRY=https://registry.npm.taobao.org
|
WORKSPACE_NPM_REGISTRY=https://registry.npmmirror.com
|
||||||
WORKSPACE_COMPOSER_REPO_PACKAGIST=https://packagist.phpcomposer.com
|
WORKSPACE_COMPOSER_REPO_PACKAGIST=https://packagist.phpcomposer.com
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ It supports a variety of common services, all pre-configured to provide a ready
|
||||||
<a name="features"></a>
|
<a name="features"></a>
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Easy switch between PHP versions: 8.0, 7.4, 7.3, 7.2, 7.1, 5.6...
|
- Easy switch between PHP versions: 8.1, 8.0, 7.4, 7.3, 7.2, 7.1, 5.6...
|
||||||
- Choose your favorite database engine: MySQL, Postgres, MariaDB...
|
- Choose your favorite database engine: MySQL, Postgres, MariaDB...
|
||||||
- Run your own stack: Memcached, HHVM, RabbitMQ...
|
- Run your own stack: Memcached, HHVM, RabbitMQ...
|
||||||
- Each software runs on its own container: PHP-FPM, NGINX, PHP-CLI...
|
- Each software runs on its own container: PHP-FPM, NGINX, PHP-CLI...
|
||||||
|
@ -442,6 +442,13 @@ Sponsoring is an act of giving in a different fashion. 🌱
|
||||||
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/18/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/18/avatar.svg?button=false&isActive=true" height="65px"></a>
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/18/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/18/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/19/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/19/avatar.svg?button=false&isActive=true" height="65px"></a>
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/19/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/19/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
|
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/20/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/20/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/21/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/21/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/22/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/22/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/23/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/23/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/24/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/24/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/25/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/25/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
### Bronze Sponsors
|
### Bronze Sponsors
|
||||||
|
@ -481,6 +488,39 @@ Sponsoring is an act of giving in a different fashion. 🌱
|
||||||
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/28/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/28/avatar.svg?button=false&isActive=true" height="55px"></a>
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/28/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/28/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/29/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/29/avatar.svg?button=false&isActive=true" height="55px"></a>
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/29/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/29/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/30/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/30/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/31/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/31/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/32/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/32/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/33/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/33/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/34/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/34/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/35/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/35/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/36/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/36/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/37/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/37/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/38/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/38/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/39/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/39/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/40/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/40/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/41/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/41/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/42/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/42/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/43/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/43/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/44/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/44/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/45/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/45/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/46/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/46/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/47/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/47/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/48/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/48/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/49/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/49/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/50/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/50/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/51/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/51/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/52/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/52/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/53/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/53/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/54/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/54/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/55/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/55/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/56/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/56/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/57/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/57/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/58/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/58/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/59/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/59/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -78,14 +78,12 @@ cp .env.example .env
|
||||||
```
|
```
|
||||||
# 开启ubuntu国内源
|
# 开启ubuntu国内源
|
||||||
CHANGE_SOURCE=true
|
CHANGE_SOURCE=true
|
||||||
# 默认是阿里云,可选项有aliyun|zju|tsinghua|163|ustc
|
|
||||||
UBUNTU_SOURCE=aliyun
|
|
||||||
# composer镜像源
|
# composer镜像源
|
||||||
WORKSPACE_COMPOSER_REPO_PACKAGIST=https://mirrors.aliyun.com/composer/
|
WORKSPACE_COMPOSER_REPO_PACKAGIST=https://mirrors.aliyun.com/composer/
|
||||||
# nvm镜像源
|
# nvm镜像源
|
||||||
WORKSPACE_NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node
|
WORKSPACE_NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node
|
||||||
# npm镜像源
|
# npm镜像源
|
||||||
WORKSPACE_NPM_REGISTRY=https://registry.npm.taobao.org
|
WORKSPACE_NPM_REGISTRY=https://registry.npmmirror.com
|
||||||
```
|
```
|
||||||
|
|
||||||
3. 运行这些容器。
|
3. 运行这些容器。
|
||||||
|
|
40
README.md
40
README.md
|
@ -249,6 +249,13 @@ Sponsoring is an act of giving in a different fashion. 🌱
|
||||||
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/18/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/18/avatar.svg?button=false&isActive=true" height="65px"></a>
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/18/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/18/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/19/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/19/avatar.svg?button=false&isActive=true" height="65px"></a>
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/19/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/19/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
|
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/20/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/20/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/21/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/21/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/22/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/22/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/23/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/23/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/24/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/24/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/silver-sponsors/25/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/silver-sponsors/25/avatar.svg?button=false&isActive=true" height="65px"></a>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
### Bronze Sponsors
|
### Bronze Sponsors
|
||||||
|
@ -288,6 +295,39 @@ Sponsoring is an act of giving in a different fashion. 🌱
|
||||||
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/28/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/28/avatar.svg?button=false&isActive=true" height="55px"></a>
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/28/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/28/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/29/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/29/avatar.svg?button=false&isActive=true" height="55px"></a>
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/29/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/29/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/30/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/30/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/31/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/31/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/32/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/32/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/33/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/33/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/34/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/34/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/35/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/35/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/36/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/36/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/37/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/37/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/38/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/38/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/39/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/39/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/40/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/40/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/41/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/41/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/42/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/42/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/43/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/43/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/44/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/44/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/45/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/45/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/46/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/46/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/47/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/47/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/48/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/48/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/49/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/49/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/50/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/50/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/51/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/51/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/52/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/52/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/53/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/53/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/54/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/54/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/55/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/55/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/56/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/56/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/57/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/57/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/58/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/58/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
<a href="https://opencollective.com/laradock/tiers/bronze-sponsors/59/website" target="_blank"><img src="https://opencollective.com/laradock/tiers/bronze-sponsors/59/avatar.svg?button=false&isActive=true" height="55px"></a>
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@ services:
|
||||||
- SHELL_OH_MY_ZSH=${SHELL_OH_MY_ZSH}
|
- SHELL_OH_MY_ZSH=${SHELL_OH_MY_ZSH}
|
||||||
- SHELL_OH_MY_ZSH_AUTOSUGESTIONS=${SHELL_OH_MY_ZSH_AUTOSUGESTIONS}
|
- SHELL_OH_MY_ZSH_AUTOSUGESTIONS=${SHELL_OH_MY_ZSH_AUTOSUGESTIONS}
|
||||||
- SHELL_OH_MY_ZSH_ALIASES=${SHELL_OH_MY_ZSH_ALIASES}
|
- SHELL_OH_MY_ZSH_ALIASES=${SHELL_OH_MY_ZSH_ALIASES}
|
||||||
- UBUNTU_SOURCE=${UBUNTU_SOURCE}
|
|
||||||
- BASE_IMAGE_TAG_PREFIX=${WORKSPACE_BASE_IMAGE_TAG_PREFIX}
|
- BASE_IMAGE_TAG_PREFIX=${WORKSPACE_BASE_IMAGE_TAG_PREFIX}
|
||||||
- LARADOCK_PHP_VERSION=${PHP_VERSION}
|
- LARADOCK_PHP_VERSION=${PHP_VERSION}
|
||||||
- LARADOCK_PHALCON_VERSION=${PHALCON_VERSION}
|
- LARADOCK_PHALCON_VERSION=${PHALCON_VERSION}
|
||||||
|
@ -87,6 +86,7 @@ services:
|
||||||
- INSTALL_MONGO=${WORKSPACE_INSTALL_MONGO}
|
- INSTALL_MONGO=${WORKSPACE_INSTALL_MONGO}
|
||||||
- INSTALL_AMQP=${WORKSPACE_INSTALL_AMQP}
|
- INSTALL_AMQP=${WORKSPACE_INSTALL_AMQP}
|
||||||
- INSTALL_CASSANDRA=${WORKSPACE_INSTALL_CASSANDRA}
|
- INSTALL_CASSANDRA=${WORKSPACE_INSTALL_CASSANDRA}
|
||||||
|
- INSTALL_ZMQ=${WORKSPACE_INSTALL_ZMQ}
|
||||||
- INSTALL_GEARMAN=${WORKSPACE_INSTALL_GEARMAN}
|
- INSTALL_GEARMAN=${WORKSPACE_INSTALL_GEARMAN}
|
||||||
- INSTALL_PHPREDIS=${WORKSPACE_INSTALL_PHPREDIS}
|
- INSTALL_PHPREDIS=${WORKSPACE_INSTALL_PHPREDIS}
|
||||||
- INSTALL_MSSQL=${WORKSPACE_INSTALL_MSSQL}
|
- INSTALL_MSSQL=${WORKSPACE_INSTALL_MSSQL}
|
||||||
|
@ -111,11 +111,12 @@ services:
|
||||||
- INSTALL_V8JS=${WORKSPACE_INSTALL_V8JS}
|
- INSTALL_V8JS=${WORKSPACE_INSTALL_V8JS}
|
||||||
- COMPOSER_GLOBAL_INSTALL=${WORKSPACE_COMPOSER_GLOBAL_INSTALL}
|
- COMPOSER_GLOBAL_INSTALL=${WORKSPACE_COMPOSER_GLOBAL_INSTALL}
|
||||||
- COMPOSER_VERSION=${WORKSPACE_COMPOSER_VERSION}
|
- COMPOSER_VERSION=${WORKSPACE_COMPOSER_VERSION}
|
||||||
- COMPOSER_AUTH=${WORKSPACE_COMPOSER_AUTH}
|
- COMPOSER_AUTH_JSON=${WORKSPACE_COMPOSER_AUTH_JSON}
|
||||||
- COMPOSER_REPO_PACKAGIST=${WORKSPACE_COMPOSER_REPO_PACKAGIST}
|
- COMPOSER_REPO_PACKAGIST=${WORKSPACE_COMPOSER_REPO_PACKAGIST}
|
||||||
- INSTALL_WORKSPACE_SSH=${WORKSPACE_INSTALL_WORKSPACE_SSH}
|
- INSTALL_WORKSPACE_SSH=${WORKSPACE_INSTALL_WORKSPACE_SSH}
|
||||||
- INSTALL_LARAVEL_ENVOY=${WORKSPACE_INSTALL_LARAVEL_ENVOY}
|
- INSTALL_LARAVEL_ENVOY=${WORKSPACE_INSTALL_LARAVEL_ENVOY}
|
||||||
- INSTALL_LARAVEL_INSTALLER=${WORKSPACE_INSTALL_LARAVEL_INSTALLER}
|
- INSTALL_LARAVEL_INSTALLER=${WORKSPACE_INSTALL_LARAVEL_INSTALLER}
|
||||||
|
- INSTALL_XLSWRITER=${WORKSPACE_INSTALL_XLSWRITER}
|
||||||
- INSTALL_DEPLOYER=${WORKSPACE_INSTALL_DEPLOYER}
|
- INSTALL_DEPLOYER=${WORKSPACE_INSTALL_DEPLOYER}
|
||||||
- INSTALL_PRESTISSIMO=${WORKSPACE_INSTALL_PRESTISSIMO}
|
- INSTALL_PRESTISSIMO=${WORKSPACE_INSTALL_PRESTISSIMO}
|
||||||
- INSTALL_LINUXBREW=${WORKSPACE_INSTALL_LINUXBREW}
|
- INSTALL_LINUXBREW=${WORKSPACE_INSTALL_LINUXBREW}
|
||||||
|
@ -167,6 +168,7 @@ services:
|
||||||
- INSTALL_PHPDECIMAL=${WORKSPACE_INSTALL_PHPDECIMAL}
|
- INSTALL_PHPDECIMAL=${WORKSPACE_INSTALL_PHPDECIMAL}
|
||||||
- INSTALL_ZOOKEEPER=${WORKSPACE_INSTALL_ZOOKEEPER}
|
- INSTALL_ZOOKEEPER=${WORKSPACE_INSTALL_ZOOKEEPER}
|
||||||
- INSTALL_SSDB=${WORKSPACE_INSTALL_SSDB}
|
- INSTALL_SSDB=${WORKSPACE_INSTALL_SSDB}
|
||||||
|
- INSTALL_TRADER=${WORKSPACE_INSTALL_TRADER}
|
||||||
- PROTOC_VERSION=${WORKSPACE_PROTOC_VERSION}
|
- PROTOC_VERSION=${WORKSPACE_PROTOC_VERSION}
|
||||||
- INSTALL_DOCKER_CLIENT=${WORKSPACE_INSTALL_DOCKER_CLIENT}
|
- INSTALL_DOCKER_CLIENT=${WORKSPACE_INSTALL_DOCKER_CLIENT}
|
||||||
- INSTALL_MEMCACHED=${WORKSPACE_INSTALL_MEMCACHED}
|
- INSTALL_MEMCACHED=${WORKSPACE_INSTALL_MEMCACHED}
|
||||||
|
@ -193,6 +195,7 @@ services:
|
||||||
- DOCKER_TLS_VERIFY=1
|
- DOCKER_TLS_VERIFY=1
|
||||||
- DOCKER_TLS_CERTDIR=/certs
|
- DOCKER_TLS_CERTDIR=/certs
|
||||||
- DOCKER_CERT_PATH=/certs/client
|
- DOCKER_CERT_PATH=/certs/client
|
||||||
|
- CHOKIDAR_USEPOLLING=true
|
||||||
networks:
|
networks:
|
||||||
- frontend
|
- frontend
|
||||||
- backend
|
- backend
|
||||||
|
@ -224,6 +227,7 @@ services:
|
||||||
- INSTALL_MONGO=${PHP_FPM_INSTALL_MONGO}
|
- INSTALL_MONGO=${PHP_FPM_INSTALL_MONGO}
|
||||||
- INSTALL_AMQP=${PHP_FPM_INSTALL_AMQP}
|
- INSTALL_AMQP=${PHP_FPM_INSTALL_AMQP}
|
||||||
- INSTALL_CASSANDRA=${PHP_FPM_INSTALL_CASSANDRA}
|
- INSTALL_CASSANDRA=${PHP_FPM_INSTALL_CASSANDRA}
|
||||||
|
- INSTALL_ZMQ=${PHP_FPM_INSTALL_ZMQ}
|
||||||
- INSTALL_GEARMAN=${PHP_FPM_INSTALL_GEARMAN}
|
- INSTALL_GEARMAN=${PHP_FPM_INSTALL_GEARMAN}
|
||||||
- INSTALL_MSSQL=${PHP_FPM_INSTALL_MSSQL}
|
- INSTALL_MSSQL=${PHP_FPM_INSTALL_MSSQL}
|
||||||
- INSTALL_BCMATH=${PHP_FPM_INSTALL_BCMATH}
|
- INSTALL_BCMATH=${PHP_FPM_INSTALL_BCMATH}
|
||||||
|
@ -246,6 +250,7 @@ services:
|
||||||
- INSTALL_IMAGE_OPTIMIZERS=${PHP_FPM_INSTALL_IMAGE_OPTIMIZERS}
|
- INSTALL_IMAGE_OPTIMIZERS=${PHP_FPM_INSTALL_IMAGE_OPTIMIZERS}
|
||||||
- INSTALL_IMAGEMAGICK=${PHP_FPM_INSTALL_IMAGEMAGICK}
|
- INSTALL_IMAGEMAGICK=${PHP_FPM_INSTALL_IMAGEMAGICK}
|
||||||
- INSTALL_CALENDAR=${PHP_FPM_INSTALL_CALENDAR}
|
- INSTALL_CALENDAR=${PHP_FPM_INSTALL_CALENDAR}
|
||||||
|
- INSTALL_XLSWRITER=${PHP_FPM_INSTALL_XLSWRITER}
|
||||||
- INSTALL_FAKETIME=${PHP_FPM_INSTALL_FAKETIME}
|
- INSTALL_FAKETIME=${PHP_FPM_INSTALL_FAKETIME}
|
||||||
- INSTALL_IONCUBE=${PHP_FPM_INSTALL_IONCUBE}
|
- INSTALL_IONCUBE=${PHP_FPM_INSTALL_IONCUBE}
|
||||||
- INSTALL_APCU=${PHP_FPM_INSTALL_APCU}
|
- INSTALL_APCU=${PHP_FPM_INSTALL_APCU}
|
||||||
|
@ -268,6 +273,7 @@ services:
|
||||||
- INSTALL_PHPDECIMAL=${PHP_FPM_INSTALL_PHPDECIMAL}
|
- INSTALL_PHPDECIMAL=${PHP_FPM_INSTALL_PHPDECIMAL}
|
||||||
- INSTALL_ZOOKEEPER=${PHP_FPM_INSTALL_ZOOKEEPER}
|
- INSTALL_ZOOKEEPER=${PHP_FPM_INSTALL_ZOOKEEPER}
|
||||||
- INSTALL_SSDB=${PHP_FPM_INSTALL_SSDB}
|
- INSTALL_SSDB=${PHP_FPM_INSTALL_SSDB}
|
||||||
|
- INSTALL_TRADER=${PHP_FPM_INSTALL_TRADER}
|
||||||
- DOWNGRADE_OPENSSL_TLS_AND_SECLEVEL=${PHP_DOWNGRADE_OPENSSL_TLS_AND_SECLEVEL}
|
- DOWNGRADE_OPENSSL_TLS_AND_SECLEVEL=${PHP_DOWNGRADE_OPENSSL_TLS_AND_SECLEVEL}
|
||||||
- PUID=${PHP_FPM_PUID}
|
- PUID=${PHP_FPM_PUID}
|
||||||
- PGID=${PHP_FPM_PGID}
|
- PGID=${PHP_FPM_PGID}
|
||||||
|
@ -323,7 +329,9 @@ services:
|
||||||
- INSTALL_BCMATH=${PHP_WORKER_INSTALL_BCMATH}
|
- INSTALL_BCMATH=${PHP_WORKER_INSTALL_BCMATH}
|
||||||
- INSTALL_MEMCACHED=${PHP_WORKER_INSTALL_MEMCACHED}
|
- INSTALL_MEMCACHED=${PHP_WORKER_INSTALL_MEMCACHED}
|
||||||
- INSTALL_OCI8=${PHP_WORKER_INSTALL_OCI8}
|
- INSTALL_OCI8=${PHP_WORKER_INSTALL_OCI8}
|
||||||
|
- INSTALL_MSSQL=${PHP_WORKER_INSTALL_MSSQL}
|
||||||
- INSTALL_PHALCON=${PHP_WORKER_INSTALL_PHALCON}
|
- INSTALL_PHALCON=${PHP_WORKER_INSTALL_PHALCON}
|
||||||
|
- INSTALL_XLSWRITER=${PHP_WORKER_INSTALL_XLSWRITER}
|
||||||
- INSTALL_SOAP=${PHP_WORKER_INSTALL_SOAP}
|
- INSTALL_SOAP=${PHP_WORKER_INSTALL_SOAP}
|
||||||
- INSTALL_ZIP_ARCHIVE=${PHP_WORKER_INSTALL_ZIP_ARCHIVE}
|
- INSTALL_ZIP_ARCHIVE=${PHP_WORKER_INSTALL_ZIP_ARCHIVE}
|
||||||
- INSTALL_MYSQL_CLIENT=${PHP_WORKER_INSTALL_MYSQL_CLIENT}
|
- INSTALL_MYSQL_CLIENT=${PHP_WORKER_INSTALL_MYSQL_CLIENT}
|
||||||
|
@ -616,7 +624,11 @@ services:
|
||||||
|
|
||||||
### PostgreSQL PostGis ###################################
|
### PostgreSQL PostGis ###################################
|
||||||
postgres-postgis:
|
postgres-postgis:
|
||||||
build: ./postgres-postgis
|
build:
|
||||||
|
context: ./postgres-postgis
|
||||||
|
args:
|
||||||
|
- POSTGIS_VERSION=${POSTGIS_VERSION}
|
||||||
|
- INSTALL_PGSQL_HTTP_FOR_POSTGIS13=${POSTGIS_INSTALL_PGSQL_HTTP_FOR_POSTGIS13}
|
||||||
volumes:
|
volumes:
|
||||||
- ${DATA_PATH_HOST}/postgres:/var/lib/postgresql/data
|
- ${DATA_PATH_HOST}/postgres:/var/lib/postgresql/data
|
||||||
ports:
|
ports:
|
||||||
|
@ -656,6 +668,9 @@ services:
|
||||||
build: ./mongo
|
build: ./mongo
|
||||||
ports:
|
ports:
|
||||||
- "${MONGODB_PORT}:27017"
|
- "${MONGODB_PORT}:27017"
|
||||||
|
environment:
|
||||||
|
- MONGO_INITDB_ROOT_USERNAME=${MONGO_USERNAME}
|
||||||
|
- MONGO_INITDB_ROOT_PASSWORD=${MONGO_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- ${DATA_PATH_HOST}/mongo:/data/db
|
- ${DATA_PATH_HOST}/mongo:/data/db
|
||||||
- ${DATA_PATH_HOST}/mongo_config:/data/configdb
|
- ${DATA_PATH_HOST}/mongo_config:/data/configdb
|
||||||
|
@ -803,6 +818,7 @@ services:
|
||||||
- "${RABBITMQ_NODE_HOST_PORT}:5672"
|
- "${RABBITMQ_NODE_HOST_PORT}:5672"
|
||||||
- "${RABBITMQ_MANAGEMENT_HTTP_HOST_PORT}:15672"
|
- "${RABBITMQ_MANAGEMENT_HTTP_HOST_PORT}:15672"
|
||||||
- "${RABBITMQ_MANAGEMENT_HTTPS_HOST_PORT}:15671"
|
- "${RABBITMQ_MANAGEMENT_HTTPS_HOST_PORT}:15671"
|
||||||
|
- "${RABBITMQ_WEB_STOMP_HOST_PORT}:15674"
|
||||||
privileged: true
|
privileged: true
|
||||||
hostname: laradock-rabbitmq
|
hostname: laradock-rabbitmq
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -981,7 +997,7 @@ services:
|
||||||
meilisearch:
|
meilisearch:
|
||||||
image: getmeili/meilisearch:latest
|
image: getmeili/meilisearch:latest
|
||||||
volumes:
|
volumes:
|
||||||
- ${DATA_PATH_HOST}/meilisearch:/var/lib/meilisearch
|
- ${DATA_PATH_HOST}/meilisearch:/data.ms
|
||||||
ports:
|
ports:
|
||||||
- "${MEILISEARCH_HOST_PORT}:7700"
|
- "${MEILISEARCH_HOST_PORT}:7700"
|
||||||
networks:
|
networks:
|
||||||
|
@ -1502,7 +1518,7 @@ services:
|
||||||
|
|
||||||
### Docker-in-Docker ################################################
|
### Docker-in-Docker ################################################
|
||||||
docker-in-docker:
|
docker-in-docker:
|
||||||
image: docker:19.03-dind
|
image: docker:20.10-dind
|
||||||
environment:
|
environment:
|
||||||
DOCKER_TLS_SAN: DNS:docker-in-docker
|
DOCKER_TLS_SAN: DNS:docker-in-docker
|
||||||
privileged: true
|
privileged: true
|
||||||
|
|
|
@ -36,11 +36,11 @@ COPY init.groovy /usr/share/jenkins/ref/init.groovy.d/tcp-slave-agent-port.groov
|
||||||
|
|
||||||
# jenkins version being bundled in this docker image
|
# jenkins version being bundled in this docker image
|
||||||
ARG JENKINS_VERSION
|
ARG JENKINS_VERSION
|
||||||
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.89.2}
|
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.303.2}
|
||||||
|
|
||||||
# jenkins.war checksum, download will be validated using it
|
# jenkins.war checksum, download will be validated using it
|
||||||
# 2.89.2
|
# 2.303.2
|
||||||
ARG JENKINS_SHA=014f669f32bc6e925e926e260503670b32662f006799b133a031a70a794c8a14
|
ARG JENKINS_SHA=c4b8532e25a33001a3d8883d3cd87a664953ace239b486839b683065817d29cf
|
||||||
|
|
||||||
|
|
||||||
# Can be used to customize where jenkins.war get downloaded from
|
# Can be used to customize where jenkins.war get downloaded from
|
||||||
|
|
|
@ -16,9 +16,9 @@ RUN if [ ${CHANGE_SOURCE} = true ]; then \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
RUN apk add --update \
|
RUN apk add --update \
|
||||||
python \
|
python3 \
|
||||||
python-dev \
|
python3-dev \
|
||||||
py-pip \
|
py3-pip \
|
||||||
build-base
|
build-base
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ARG LARADOCK_PHP_VERSION
|
ARG LARADOCK_PHP_VERSION
|
||||||
FROM php:${LARADOCK_PHP_VERSION}-alpine3.13
|
FROM php:${LARADOCK_PHP_VERSION}-alpine
|
||||||
|
|
||||||
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
||||||
|
|
||||||
|
@ -37,7 +37,12 @@ RUN apk --update add wget \
|
||||||
procps
|
procps
|
||||||
|
|
||||||
RUN pecl channel-update pecl.php.net; \
|
RUN pecl channel-update pecl.php.net; \
|
||||||
docker-php-ext-install mysqli mbstring pdo pdo_mysql tokenizer xml pcntl
|
docker-php-ext-install mysqli mbstring pdo pdo_mysql xml pcntl; \
|
||||||
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "1" ]; then \
|
||||||
|
php -m | grep -q 'tokenizer'; \
|
||||||
|
else \
|
||||||
|
docker-php-ext-install tokenizer; \
|
||||||
|
fi
|
||||||
|
|
||||||
# Add a non-root user to help install ffmpeg:
|
# Add a non-root user to help install ffmpeg:
|
||||||
ARG PUID=1000
|
ARG PUID=1000
|
||||||
|
@ -64,11 +69,7 @@ ARG INSTALL_GNUPG=false
|
||||||
RUN set -eux; if [ ${INSTALL_GNUPG} = true ]; then \
|
RUN set -eux; if [ ${INSTALL_GNUPG} = true ]; then \
|
||||||
apk add --no-cache --no-progress --virtual BUILD_DEPS_PHP_GNUPG gpgme-dev; \
|
apk add --no-cache --no-progress --virtual BUILD_DEPS_PHP_GNUPG gpgme-dev; \
|
||||||
apk add --no-cache --no-progress gpgme; \
|
apk add --no-cache --no-progress gpgme; \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
|
||||||
pecl install gnupg-1.5.0RC2; \
|
|
||||||
else \
|
|
||||||
pecl install gnupg; \
|
pecl install gnupg; \
|
||||||
fi; \
|
|
||||||
docker-php-ext-enable gnupg; \
|
docker-php-ext-enable gnupg; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,56 @@
|
||||||
|
map $http_upgrade $connection_upgrade {
|
||||||
|
default upgrade;
|
||||||
|
'' close;
|
||||||
|
}
|
||||||
|
|
||||||
|
upstream octane {
|
||||||
|
server workspace:8000 weight=5 max_fails=3 fail_timeout=30s;
|
||||||
|
keepalive 16;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
server_name octane.test;
|
||||||
|
server_tokens off;
|
||||||
|
root /var/www/octane/public;
|
||||||
|
|
||||||
|
index index.php;
|
||||||
|
|
||||||
|
charset utf-8;
|
||||||
|
|
||||||
|
location /index.php {
|
||||||
|
try_files /not_exists @octane;
|
||||||
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ @octane;
|
||||||
|
}
|
||||||
|
|
||||||
|
location = /favicon.ico { access_log off; log_not_found off; }
|
||||||
|
location = /robots.txt { access_log off; log_not_found off; }
|
||||||
|
|
||||||
|
error_page 404 /index.php;
|
||||||
|
|
||||||
|
location @octane {
|
||||||
|
set $suffix "";
|
||||||
|
|
||||||
|
if ($uri = /index.php) {
|
||||||
|
set $suffix ?$query_string;
|
||||||
|
}
|
||||||
|
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
|
proxy_set_header Scheme $scheme;
|
||||||
|
proxy_set_header SERVER_PORT $server_port;
|
||||||
|
proxy_set_header REMOTE_ADDR $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection $connection_upgrade;
|
||||||
|
|
||||||
|
proxy_pass http://octane$suffix;
|
||||||
|
}
|
||||||
|
|
||||||
|
error_log /var/log/nginx/octane_error.log;
|
||||||
|
access_log /var/log/nginx/octane_access.log;
|
||||||
|
}
|
|
@ -148,7 +148,7 @@ RUN apk add --no-cache --virtual .build-deps \
|
||||||
&& make -j${RESTY_J} \
|
&& make -j${RESTY_J} \
|
||||||
&& make -j${RESTY_J} install_sw \
|
&& make -j${RESTY_J} install_sw \
|
||||||
&& cd /tmp \
|
&& cd /tmp \
|
||||||
&& curl -fSL https://ftp.pcre.org/pub/pcre/pcre-${RESTY_PCRE_VERSION}.tar.gz -o pcre-${RESTY_PCRE_VERSION}.tar.gz \
|
&& curl -fSL https://downloads.sourceforge.net/project/pcre/pcre/${RESTY_PCRE_VERSION}/pcre-${RESTY_PCRE_VERSION}.tar.gz -o pcre-${RESTY_PCRE_VERSION}.tar.gz \
|
||||||
&& tar xzf pcre-${RESTY_PCRE_VERSION}.tar.gz \
|
&& tar xzf pcre-${RESTY_PCRE_VERSION}.tar.gz \
|
||||||
&& cd /tmp/pcre-${RESTY_PCRE_VERSION} \
|
&& cd /tmp/pcre-${RESTY_PCRE_VERSION} \
|
||||||
&& ./configure \
|
&& ./configure \
|
||||||
|
|
|
@ -28,9 +28,9 @@ ENV DEBIAN_FRONTEND noninteractive
|
||||||
ARG CHANGE_SOURCE=false
|
ARG CHANGE_SOURCE=false
|
||||||
RUN if [ ${CHANGE_SOURCE} = true ]; then \
|
RUN if [ ${CHANGE_SOURCE} = true ]; then \
|
||||||
# Change application source from deb.debian.org to aliyun source
|
# Change application source from deb.debian.org to aliyun source
|
||||||
sed -i 's/deb.debian.org/mirrors.aliyun.com/' /etc/apt/sources.list && \
|
sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list && \
|
||||||
sed -i 's/security.debian.org/mirrors.aliyun.com/' /etc/apt/sources.list && \
|
sed -i 's/security.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list && \
|
||||||
sed -i 's/security-cdn.debian.org/mirrors.aliyun.com/' /etc/apt/sources.list \
|
sed -i 's/security-cdn.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
# always run apt update when start and after add new source list, then clean up at end.
|
# always run apt update when start and after add new source list, then clean up at end.
|
||||||
|
@ -117,11 +117,7 @@ ARG INSTALL_GNUPG=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_GNUPG} = true ]; then \
|
RUN if [ ${INSTALL_GNUPG} = true ]; then \
|
||||||
apt-get -yq install libgpgme-dev; \
|
apt-get -yq install libgpgme-dev; \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
|
||||||
pecl install gnupg-1.5.0RC2; \
|
|
||||||
else \
|
|
||||||
pecl install gnupg; \
|
pecl install gnupg; \
|
||||||
fi; \
|
|
||||||
docker-php-ext-enable gnupg; \
|
docker-php-ext-enable gnupg; \
|
||||||
php -m | grep -q 'gnupg'; \
|
php -m | grep -q 'gnupg'; \
|
||||||
fi
|
fi
|
||||||
|
@ -219,8 +215,9 @@ ARG INSTALL_XDEBUG=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
||||||
# Install the xdebug extension
|
# Install the xdebug extension
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
# https://xdebug.org/docs/compat
|
||||||
pecl install xdebug-3.0.0; \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] || { [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && { [ $(php -r "echo PHP_MINOR_VERSION;") = "4" ] || [ $(php -r "echo PHP_MINOR_VERSION;") = "3" ] ;} ;}; then \
|
||||||
|
pecl install xdebug-3.1.2; \
|
||||||
else \
|
else \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
pecl install xdebug-2.5.5; \
|
pecl install xdebug-2.5.5; \
|
||||||
|
@ -357,13 +354,19 @@ ARG INSTALL_MONGO=false
|
||||||
RUN if [ ${INSTALL_MONGO} = true ]; then \
|
RUN if [ ${INSTALL_MONGO} = true ]; then \
|
||||||
# Install the mongodb extension
|
# Install the mongodb extension
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
pecl install mongo && \
|
pecl install mongo; \
|
||||||
docker-php-ext-enable mongo \
|
docker-php-ext-enable mongo; \
|
||||||
;else \
|
php -m | grep -oiE '^mongo$'; \
|
||||||
pecl install mongodb && \
|
else \
|
||||||
docker-php-ext-enable mongodb \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && { [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ] || [ $(php -r "echo PHP_MINOR_VERSION;") = "1" ] ;}; then \
|
||||||
;fi \
|
pecl install mongodb-1.9.2; \
|
||||||
;fi
|
else \
|
||||||
|
pecl install mongodb; \
|
||||||
|
fi; \
|
||||||
|
docker-php-ext-enable mongodb; \
|
||||||
|
php -m | grep -oiE '^mongodb$'; \
|
||||||
|
fi; \
|
||||||
|
fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# Xhprof:
|
# Xhprof:
|
||||||
|
@ -481,6 +484,23 @@ RUN if [ ${INSTALL_GEARMAN} = true ]; then \
|
||||||
docker-php-ext-enable gearman \
|
docker-php-ext-enable gearman \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# xlswriter:
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
ARG INSTALL_XLSWRITER=false
|
||||||
|
RUN set -eux; \
|
||||||
|
if [ ${INSTALL_XLSWRITER} = true ]; then \
|
||||||
|
# Install Php xlswriter Extension \
|
||||||
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") != "5" ]; then \
|
||||||
|
pecl install xlswriter &&\
|
||||||
|
docker-php-ext-enable xlswriter &&\
|
||||||
|
php -m | grep -q 'xlswriter'; \
|
||||||
|
else \
|
||||||
|
echo "PHP Extension for xlswriter is not supported for PHP 5.0";\
|
||||||
|
fi \
|
||||||
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# pcntl
|
# pcntl
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
@ -602,9 +622,13 @@ RUN if [ ${INSTALL_OCI8} = true ]; then \
|
||||||
freetds-dev && \
|
freetds-dev && \
|
||||||
# Install PHP extensions
|
# Install PHP extensions
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.0.10; \
|
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.0.12; \
|
||||||
else \
|
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
|
||||||
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.2.0; \
|
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.2.0; \
|
||||||
|
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ]; then \
|
||||||
|
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-3.0.1; \
|
||||||
|
else \
|
||||||
|
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8; \
|
||||||
fi \
|
fi \
|
||||||
&& docker-php-ext-configure pdo_oci --with-pdo-oci=instantclient,/opt/oracle/instantclient_12_1,12.1 \
|
&& docker-php-ext-configure pdo_oci --with-pdo-oci=instantclient,/opt/oracle/instantclient_12_1,12.1 \
|
||||||
&& docker-php-ext-configure pdo_dblib --with-libdir=/lib/x86_64-linux-gnu \
|
&& docker-php-ext-configure pdo_dblib --with-libdir=/lib/x86_64-linux-gnu \
|
||||||
|
@ -628,6 +652,7 @@ RUN if [ ${INSTALL_IONCUBE} = true ]; then \
|
||||||
&& mv /tmp/ioncube/ioncube_loader_lin_${LARADOCK_PHP_VERSION}.so $(php -r "echo ini_get('extension_dir');")/ioncube_loader.so \
|
&& mv /tmp/ioncube/ioncube_loader_lin_${LARADOCK_PHP_VERSION}.so $(php -r "echo ini_get('extension_dir');")/ioncube_loader.so \
|
||||||
&& printf "zend_extension=ioncube_loader.so\n" > $PHP_INI_DIR/conf.d/0ioncube.ini \
|
&& printf "zend_extension=ioncube_loader.so\n" > $PHP_INI_DIR/conf.d/0ioncube.ini \
|
||||||
&& rm -rf /tmp/ioncube* \
|
&& rm -rf /tmp/ioncube* \
|
||||||
|
&& php -m | grep -oiE '^ionCube Loader$' \
|
||||||
;fi \
|
;fi \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
@ -706,33 +731,33 @@ RUN set -eux; \
|
||||||
apt-get -yqq install freetds-dev libsybdb5 \
|
apt-get -yqq install freetds-dev libsybdb5 \
|
||||||
&& ln -s /usr/lib/x86_64-linux-gnu/libsybdb.so /usr/lib/libsybdb.so \
|
&& ln -s /usr/lib/x86_64-linux-gnu/libsybdb.so /usr/lib/libsybdb.so \
|
||||||
&& docker-php-ext-install mssql pdo_dblib \
|
&& docker-php-ext-install mssql pdo_dblib \
|
||||||
&& php -m | grep -q 'mssql' \
|
&& php -m | grep -oiE '^mssql$' \
|
||||||
&& php -m | grep -q 'pdo_dblib' \
|
&& php -m | grep -oiE '^pdo_dblib$' \
|
||||||
;else \
|
;else \
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# Ref from https://github.com/Microsoft/msphpsql/wiki/Dockerfile-for-adding-pdo_sqlsrv-and-sqlsrv-to-official-php-image
|
# Ref from https://github.com/Microsoft/msphpsql/wiki/Dockerfile-for-adding-pdo_sqlsrv-and-sqlsrv-to-official-php-image
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# Add Microsoft repo for Microsoft ODBC Driver 13 for Linux
|
# Add Microsoft repo for Microsoft ODBC Driver 13 for Linux
|
||||||
apt-get install -yqq apt-transport-https gnupg \
|
apt-get install -yqq apt-transport-https gnupg lsb-release \
|
||||||
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
|
&& curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
|
||||||
&& curl https://packages.microsoft.com/config/debian/9/prod.list > /etc/apt/sources.list.d/mssql-release.list \
|
&& curl https://packages.microsoft.com/config/debian/$(lsb_release -rs)/prod.list > /etc/apt/sources.list.d/mssql-release.list \
|
||||||
&& apt-get update -yqq \
|
&& apt-get update -yqq \
|
||||||
&& ACCEPT_EULA=Y apt-get install -yqq unixodbc unixodbc-dev libgss3 odbcinst msodbcsql17 locales \
|
&& ACCEPT_EULA=Y apt-get install -yqq unixodbc unixodbc-dev libgss3 odbcinst msodbcsql17 locales \
|
||||||
&& echo "en_US.UTF-8 UTF-8" > /etc/locale.gen \
|
&& echo "en_US.UTF-8 UTF-8" > /etc/locale.gen \
|
||||||
&& ln -sfn /etc/locale.alias /usr/share/locale/locale.alias \
|
&& ln -sfn /etc/locale.alias /usr/share/locale/locale.alias \
|
||||||
&& locale-gen \
|
&& locale-gen \
|
||||||
&& if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "2" ]; then \
|
&& if [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70000" ]; then \
|
||||||
pecl install pdo_sqlsrv-5.8.1 sqlsrv-5.8.1 \
|
|
||||||
;elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "1" ]; then \
|
|
||||||
pecl install pdo_sqlsrv-5.6.1 sqlsrv-5.6.1 \
|
|
||||||
;elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ]; then \
|
|
||||||
pecl install pdo_sqlsrv-5.3.0 sqlsrv-5.3.0 \
|
pecl install pdo_sqlsrv-5.3.0 sqlsrv-5.3.0 \
|
||||||
|
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70100" ]; then \
|
||||||
|
pecl install pdo_sqlsrv-5.6.1 sqlsrv-5.6.1 \
|
||||||
|
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70200" ]; then \
|
||||||
|
pecl install pdo_sqlsrv-5.8.1 sqlsrv-5.8.1 \
|
||||||
;else \
|
;else \
|
||||||
pecl install pdo_sqlsrv sqlsrv \
|
pecl install pdo_sqlsrv sqlsrv \
|
||||||
;fi \
|
;fi \
|
||||||
&& docker-php-ext-enable pdo_sqlsrv sqlsrv \
|
&& docker-php-ext-enable pdo_sqlsrv sqlsrv \
|
||||||
&& php -m | grep -q 'pdo_sqlsrv' \
|
&& php -m | grep -oiE '^pdo_sqlsrv$' \
|
||||||
&& php -m | grep -q 'sqlsrv' \
|
&& php -m | grep -oiE '^sqlsrv$' \
|
||||||
;fi \
|
;fi \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
@ -787,7 +812,9 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
||||||
ARG INSTALL_SMB=false
|
ARG INSTALL_SMB=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_SMB} = true ]; then \
|
RUN if [ ${INSTALL_SMB} = true ]; then \
|
||||||
apt-get install -yqq smbclient php-smbclient coreutils \
|
apt-get install -yqq smbclient libsmbclient-dev coreutils && \
|
||||||
|
pecl install smbclient && \
|
||||||
|
docker-php-ext-enable smbclient \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
@ -1027,6 +1054,19 @@ RUN if [ ${INSTALL_WKHTMLTOPDF} = true ]; then \
|
||||||
&& apt -f install \
|
&& apt -f install \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# trader:
|
||||||
|
#####################################
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ARG INSTALL_TRADER=false
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_TRADER} = true ]; then \
|
||||||
|
pecl install trader \
|
||||||
|
&& echo "extension=trader.so" >> $PHP_INI_DIR/conf.d/trader.ini \
|
||||||
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# Mailparse extension:
|
# Mailparse extension:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
@ -1065,7 +1105,7 @@ ARG INSTALL_XMLRPC=false
|
||||||
RUN if [ ${INSTALL_XMLRPC} = true ]; then \
|
RUN if [ ${INSTALL_XMLRPC} = true ]; then \
|
||||||
apt-get -yq install libxml2-dev; \
|
apt-get -yq install libxml2-dev; \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
||||||
pecl install xmlrpc-1.0.0RC2; \
|
pecl install xmlrpc-1.0.0RC3; \
|
||||||
docker-php-ext-enable xmlrpc; \
|
docker-php-ext-enable xmlrpc; \
|
||||||
else \
|
else \
|
||||||
docker-php-ext-install xmlrpc; \
|
docker-php-ext-install xmlrpc; \
|
||||||
|
@ -1124,14 +1164,14 @@ ARG NEW_RELIC_KEY=${NEW_RELIC_KEY}
|
||||||
ARG NEW_RELIC_APP_NAME=${NEW_RELIC_APP_NAME}
|
ARG NEW_RELIC_APP_NAME=${NEW_RELIC_APP_NAME}
|
||||||
|
|
||||||
RUN if [ ${NEW_RELIC} = true ]; then \
|
RUN if [ ${NEW_RELIC} = true ]; then \
|
||||||
curl -L http://download.newrelic.com/php_agent/archive/9.9.0.260/newrelic-php5-9.9.0.260-linux.tar.gz | tar -C /tmp -zx && \
|
curl -L http://download.newrelic.com/php_agent/release/newrelic-php5-9.18.1.303-linux.tar.gz | tar -C /tmp -zx && \
|
||||||
export NR_INSTALL_USE_CP_NOT_LN=1 && \
|
export NR_INSTALL_USE_CP_NOT_LN=1 && \
|
||||||
export NR_INSTALL_SILENT=1 && \
|
export NR_INSTALL_SILENT=1 && \
|
||||||
/tmp/newrelic-php5-*/newrelic-install install && \
|
/tmp/newrelic-php5-*/newrelic-install install && \
|
||||||
rm -rf /tmp/newrelic-php5-* /tmp/nrinstall* && \
|
rm -rf /tmp/newrelic-php5-* /tmp/nrinstall* && \
|
||||||
sed -i \
|
sed -i \
|
||||||
-e 's/"REPLACE_WITH_REAL_KEY"/"${NEW_RELIC_KEY}"/' \
|
-e 's/"REPLACE_WITH_REAL_KEY"/"'${NEW_RELIC_KEY}'"/' \
|
||||||
-e 's/newrelic.appname = "PHP Application"/newrelic.appname = "${NEW_RELIC_APP_NAME}"/' \
|
-e 's/newrelic.appname = "PHP Application"/newrelic.appname = "'${NEW_RELIC_APP_NAME}'"/' \
|
||||||
-e 's/;newrelic.daemon.app_connect_timeout =.*/newrelic.daemon.app_connect_timeout=15s/' \
|
-e 's/;newrelic.daemon.app_connect_timeout =.*/newrelic.daemon.app_connect_timeout=15s/' \
|
||||||
-e 's/;newrelic.daemon.start_timeout =.*/newrelic.daemon.start_timeout=5s/' \
|
-e 's/;newrelic.daemon.start_timeout =.*/newrelic.daemon.start_timeout=5s/' \
|
||||||
/usr/local/etc/php/conf.d/newrelic.ini \
|
/usr/local/etc/php/conf.d/newrelic.ini \
|
||||||
|
@ -1175,6 +1215,27 @@ RUN if [ ${DOWNGRADE_OPENSSL_TLS_AND_SECLEVEL} = true ]; then \
|
||||||
sed -i 's,^\(CipherString[ ]*=\).*,\1'DEFAULT@SECLEVEL=1',g' /etc/ssl/openssl.cnf\
|
sed -i 's,^\(CipherString[ ]*=\).*,\1'DEFAULT@SECLEVEL=1',g' /etc/ssl/openssl.cnf\
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# zmq
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ARG INSTALL_ZMQ=false
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_ZMQ} = true ]; then \
|
||||||
|
apt-get install --yes git libzmq3-dev \
|
||||||
|
&& git clone https://github.com/zeromq/php-zmq.git \
|
||||||
|
&& cd php-zmq \
|
||||||
|
&& phpize \
|
||||||
|
&& ./configure \
|
||||||
|
&& make \
|
||||||
|
&& make install \
|
||||||
|
&& cd .. \
|
||||||
|
&& rm -fr php-zmq \
|
||||||
|
&& echo "extension=zmq.so" > /usr/local/etc/php/conf.d/zmq.ini \
|
||||||
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# Check PHP version:
|
# Check PHP version:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -25,6 +25,7 @@ RUN apk --update add wget \
|
||||||
build-base \
|
build-base \
|
||||||
libmcrypt-dev \
|
libmcrypt-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
|
linux-headers \
|
||||||
pcre-dev \
|
pcre-dev \
|
||||||
zlib-dev \
|
zlib-dev \
|
||||||
autoconf \
|
autoconf \
|
||||||
|
@ -37,7 +38,12 @@ RUN apk --update add wget \
|
||||||
|
|
||||||
|
|
||||||
RUN pecl channel-update pecl.php.net; \
|
RUN pecl channel-update pecl.php.net; \
|
||||||
docker-php-ext-install mysqli mbstring pdo pdo_mysql tokenizer xml pcntl
|
docker-php-ext-install mysqli mbstring pdo pdo_mysql xml pcntl; \
|
||||||
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "1" ]; then \
|
||||||
|
php -m | grep -q 'tokenizer'; \
|
||||||
|
else \
|
||||||
|
docker-php-ext-install tokenizer; \
|
||||||
|
fi
|
||||||
|
|
||||||
# Add a non-root user:
|
# Add a non-root user:
|
||||||
ARG PUID=1000
|
ARG PUID=1000
|
||||||
|
@ -64,11 +70,7 @@ ARG INSTALL_GNUPG=false
|
||||||
RUN set -eux; if [ ${INSTALL_GNUPG} = true ]; then \
|
RUN set -eux; if [ ${INSTALL_GNUPG} = true ]; then \
|
||||||
apk add --no-cache --no-progress --virtual BUILD_DEPS_PHP_GNUPG gpgme-dev; \
|
apk add --no-cache --no-progress --virtual BUILD_DEPS_PHP_GNUPG gpgme-dev; \
|
||||||
apk add --no-cache --no-progress gpgme; \
|
apk add --no-cache --no-progress gpgme; \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
|
||||||
pecl install gnupg-1.5.0RC2; \
|
|
||||||
else \
|
|
||||||
pecl install gnupg; \
|
pecl install gnupg; \
|
||||||
fi; \
|
|
||||||
docker-php-ext-enable gnupg; \
|
docker-php-ext-enable gnupg; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -144,9 +146,15 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
pecl install mongo; \
|
pecl install mongo; \
|
||||||
docker-php-ext-enable mongo; \
|
docker-php-ext-enable mongo; \
|
||||||
|
php -m | grep -oiE '^mongo$'; \
|
||||||
|
else \
|
||||||
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && { [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ] || [ $(php -r "echo PHP_MINOR_VERSION;") = "1" ] ;}; then \
|
||||||
|
pecl install mongodb-1.9.2; \
|
||||||
else \
|
else \
|
||||||
pecl install mongodb; \
|
pecl install mongodb; \
|
||||||
|
fi; \
|
||||||
docker-php-ext-enable mongodb; \
|
docker-php-ext-enable mongodb; \
|
||||||
|
php -m | grep -oiE '^mongodb$'; \
|
||||||
fi; \
|
fi; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -254,15 +262,16 @@ RUN if [ ${INSTALL_AUDIOWAVEFORM} = true ]; then \
|
||||||
ARG INSTALL_AMQP=false
|
ARG INSTALL_AMQP=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_AMQP} = true ]; then \
|
RUN if [ ${INSTALL_AMQP} = true ]; then \
|
||||||
|
docker-php-ext-install sockets; \
|
||||||
apk --update add -q rabbitmq-c rabbitmq-c-dev && \
|
apk --update add -q rabbitmq-c rabbitmq-c-dev && \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
||||||
printf "\n" | pecl install amqp-1.11.0beta; \
|
printf "\n" | pecl install amqp-1.11.0; \
|
||||||
else \
|
else \
|
||||||
printf "\n" | pecl install amqp; \
|
printf "\n" | pecl install amqp; \
|
||||||
fi && \
|
fi && \
|
||||||
docker-php-ext-enable amqp && \
|
docker-php-ext-enable amqp && \
|
||||||
apk del -q rabbitmq-c-dev && \
|
apk del -q rabbitmq-c-dev; \
|
||||||
docker-php-ext-install sockets \
|
php -m | grep -oiE '^amqp$' \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
# Install Gearman:
|
# Install Gearman:
|
||||||
|
@ -344,19 +353,38 @@ RUN if [ ${INSTALL_REDIS} = true ]; then \
|
||||||
|
|
||||||
ARG INSTALL_SWOOLE=false
|
ARG INSTALL_SWOOLE=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_SWOOLE} = true ]; then \
|
RUN set -eux; \
|
||||||
|
if [ ${INSTALL_SWOOLE} = true ]; then \
|
||||||
# Install Php Swoole Extension
|
# Install Php Swoole Extension
|
||||||
if [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "50600" ]; then \
|
if [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "50600" ]; then \
|
||||||
echo '' | pecl -q install swoole-2.0.10; \
|
pecl install swoole-2.0.10; \
|
||||||
elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70000" ]; then \
|
elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70000" ]; then \
|
||||||
echo '' | pecl -q install swoole-4.3.5; \
|
pecl install swoole-4.3.5; \
|
||||||
elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70100" ]; then \
|
elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70100" ]; then \
|
||||||
echo '' | pecl -q install swoole-4.5.11; \
|
pecl install swoole-4.5.11; \
|
||||||
else \
|
else \
|
||||||
echo '' | pecl -q install swoole; \
|
pecl install swoole; \
|
||||||
fi; \
|
fi; \
|
||||||
docker-php-ext-enable swoole \
|
docker-php-ext-enable swoole; \
|
||||||
&& php -m | grep -q 'swoole' \
|
php -m | grep -oiE '^swoole$'; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# xlswriter:
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
ARG INSTALL_XLSWRITER=false
|
||||||
|
|
||||||
|
RUN set -eux; \
|
||||||
|
if [ ${INSTALL_XLSWRITER} = true ]; then \
|
||||||
|
# Install Php xlswriter Extension \
|
||||||
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") != "5" ]; then \
|
||||||
|
pecl install xlswriter && \
|
||||||
|
docker-php-ext-enable xlswriter && \
|
||||||
|
php -m | grep -q 'xlswriter'; \
|
||||||
|
else \
|
||||||
|
echo "PHP Extension for xlswriter is not supported for PHP 5.0"; \
|
||||||
|
fi \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
@ -396,7 +424,7 @@ ARG INSTALL_XMLRPC=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_XMLRPC} = true ]; then \
|
RUN if [ ${INSTALL_XMLRPC} = true ]; then \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
||||||
pecl install xmlrpc-1.0.0RC2; \
|
pecl install xmlrpc-1.0.0RC3; \
|
||||||
docker-php-ext-enable xmlrpc; \
|
docker-php-ext-enable xmlrpc; \
|
||||||
else \
|
else \
|
||||||
docker-php-ext-install xmlrpc; \
|
docker-php-ext-install xmlrpc; \
|
||||||
|
@ -422,6 +450,37 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
|
||||||
php -m | grep -r 'memcached'; \
|
php -m | grep -r 'memcached'; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# SQL SERVER:
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
ARG INSTALL_MSSQL=false
|
||||||
|
|
||||||
|
RUN set -eux; \
|
||||||
|
if [ ${INSTALL_MSSQL} = true ]; then \
|
||||||
|
apk add --update gnupg \
|
||||||
|
###########################################################################
|
||||||
|
# Ref from:
|
||||||
|
# - https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver15#alpine17
|
||||||
|
###########################################################################
|
||||||
|
# Add Microsoft repo for Microsoft ODBC Driver 17 for Linux
|
||||||
|
# Driver version 17.5 or higher is required for Alpine support.
|
||||||
|
# Download the desired package(s)
|
||||||
|
&& curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/msodbcsql17_17.8.1.1-1_amd64.apk \
|
||||||
|
# Verify signature, if 'gpg' is missing install it using 'apk add gnupg':
|
||||||
|
&& curl -O https://download.microsoft.com/download/e/4/e/e4e67866-dffd-428c-aac7-8d28ddafb39b/msodbcsql17_17.8.1.1-1_amd64.sig \
|
||||||
|
&& curl https://packages.microsoft.com/keys/microsoft.asc | gpg --import - \
|
||||||
|
&& gpg --verify msodbcsql17_17.8.1.1-1_amd64.sig msodbcsql17_17.8.1.1-1_amd64.apk \
|
||||||
|
# Install the package(s)
|
||||||
|
&& apk add --allow-untrusted msodbcsql17_17.8.1.1-1_amd64.apk unixodbc-dev \
|
||||||
|
&& pecl install sqlsrv pdo_sqlsrv \
|
||||||
|
# && echo extension=pdo_sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/10_pdo_sqlsrv.ini
|
||||||
|
# && echo extension=sqlsrv.so >> `php --ini | grep "Scan for additional .ini files" | sed -e "s|.*:\s*||"`/00_sqlsrv.ini
|
||||||
|
&& docker-php-ext-enable pdo_sqlsrv sqlsrv \
|
||||||
|
&& php -m | grep -q 'pdo_sqlsrv' \
|
||||||
|
&& php -m | grep -q 'sqlsrv' \
|
||||||
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# PHP SSDB:
|
# PHP SSDB:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM phpmyadmin/phpmyadmin
|
FROM phpmyadmin
|
||||||
|
|
||||||
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>"
|
LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,27 @@
|
||||||
FROM postgis/postgis:latest
|
ARG POSTGIS_VERSION=latest
|
||||||
|
FROM postgis/postgis:${POSTGIS_VERSION}
|
||||||
|
|
||||||
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
|
||||||
|
|
||||||
|
ARG INSTALL_PGSQL_HTTP_FOR_POSTGIS13=false
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_PGSQL_HTTP_FOR_POSTGIS13} = true ]; then \
|
||||||
|
apt-get clean \
|
||||||
|
&& apt-get update -yqq \
|
||||||
|
&& apt-get install -y \
|
||||||
|
git \
|
||||||
|
make \
|
||||||
|
gcc \
|
||||||
|
libcurl4-openssl-dev \
|
||||||
|
postgresql-server-dev-13 \
|
||||||
|
postgresql-13-cron \
|
||||||
|
&& git clone --recursive https://github.com/pramsey/pgsql-http.git \
|
||||||
|
&& cd pgsql-http/ \
|
||||||
|
&& make \
|
||||||
|
&& make install \
|
||||||
|
&& apt-get clean \
|
||||||
|
;fi
|
||||||
|
|
||||||
CMD ["postgres"]
|
CMD ["postgres"]
|
||||||
|
|
||||||
EXPOSE 5432
|
EXPOSE 5432
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -9,10 +9,10 @@
|
||||||
"@testing-library/jest-dom": "^4.2.4",
|
"@testing-library/jest-dom": "^4.2.4",
|
||||||
"@testing-library/react": "^9.5.0",
|
"@testing-library/react": "^9.5.0",
|
||||||
"@testing-library/user-event": "^7.2.1",
|
"@testing-library/user-event": "^7.2.1",
|
||||||
"axios": "^0.21.1",
|
"axios": "^0.21.2",
|
||||||
"bootstrap": "^4.5.3",
|
"bootstrap": "^4.5.3",
|
||||||
"jss-rtl": "^0.3.0",
|
"jss-rtl": "^0.3.0",
|
||||||
"node-sass": "^4.14.1",
|
"node-sass": "^7.0.0",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"react": "^17.0.1",
|
"react": "^17.0.1",
|
||||||
"react-bootstrap": "^1.4.0",
|
"react-bootstrap": "^1.4.0",
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
GIN_MODE=debug
|
GIN_MODE=debug
|
||||||
|
|
||||||
# Weaver
|
# Weaver
|
||||||
WEAVER_AUTH_KEY=arachnys-weaver
|
WEAVER_AUTH_KEY="arachnys-weaver"
|
||||||
WEAVER_ATHENA_CMD=athenapdf -S
|
WEAVER_ATHENA_CMD="athenapdf -S"
|
||||||
WEAVER_MAX_WORKERS=10
|
WEAVER_MAX_WORKERS=10
|
||||||
WEAVER_MAX_CONVERSION_QUEUE=50
|
WEAVER_MAX_CONVERSION_QUEUE=50
|
||||||
WEAVER_WORKER_TIMEOUT=90
|
WEAVER_WORKER_TIMEOUT=90
|
||||||
|
|
|
@ -31,17 +31,10 @@ USER root
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
ARG CHANGE_SOURCE=false
|
ARG CHANGE_SOURCE=false
|
||||||
ARG UBUNTU_SOURCE=aliyun
|
|
||||||
COPY ./sources.sh /tmp/sources.sh
|
|
||||||
RUN if [ ${CHANGE_SOURCE} = true ]; then \
|
RUN if [ ${CHANGE_SOURCE} = true ]; then \
|
||||||
# Change application source from deb.debian.org to aliyun source
|
# Change application source from deb.debian.org to aliyun source
|
||||||
sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list; \
|
sed -i 's/ports.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list; \
|
||||||
sed -i 's/security.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list; \
|
fi;
|
||||||
sed -i 's/security-cdn.debian.org/mirrors.tuna.tsinghua.edu.cn/' /etc/apt/sources.list; \
|
|
||||||
chmod +x /tmp/sources.sh; \
|
|
||||||
/bin/sh -c /tmp/sources.sh; \
|
|
||||||
fi; \
|
|
||||||
rm -rf /tmp/sources.sh
|
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# Laradock non-root user:
|
# Laradock non-root user:
|
||||||
|
@ -166,10 +159,10 @@ RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
# Check if auth file is disabled
|
# Check if auth file is disabled
|
||||||
ARG COMPOSER_AUTH=false
|
ARG COMPOSER_AUTH_JSON=false
|
||||||
ENV COMPOSER_AUTH ${COMPOSER_AUTH}
|
ENV COMPOSER_AUTH_JSON ${COMPOSER_AUTH_JSON}
|
||||||
|
|
||||||
RUN if [ ${COMPOSER_AUTH} = false ]; then \
|
RUN if [ ${COMPOSER_AUTH_JSON} = false ]; then \
|
||||||
# remove the file
|
# remove the file
|
||||||
rm /home/laradock/.composer/auth.json \
|
rm /home/laradock/.composer/auth.json \
|
||||||
;fi
|
;fi
|
||||||
|
@ -312,7 +305,7 @@ RUN set -eux; \
|
||||||
# SMB:
|
# SMB:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
if [ ${INSTALL_SMB} = true ]; then \
|
if [ ${INSTALL_SMB} = true ]; then \
|
||||||
apt-get install -yqq smbclient php-smbclient coreutils; \
|
apt-get install -yqq smbclient php${LARADOCK_PHP_VERSION}-smbclient coreutils; \
|
||||||
fi; \
|
fi; \
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# IMAP:
|
# IMAP:
|
||||||
|
@ -337,25 +330,18 @@ ARG INSTALL_XDEBUG=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
||||||
# Install the xdebug extension
|
# Install the xdebug extension
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
# https://xdebug.org/docs/compat
|
||||||
pecl install xdebug-3.0.0; \
|
apt-get install -yqq pkg-config php-xml php${LARADOCK_PHP_VERSION}-xml && \
|
||||||
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] || { [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && { [ $(php -r "echo PHP_MINOR_VERSION;") = "4" ] || [ $(php -r "echo PHP_MINOR_VERSION;") = "3" ] ;} ;}; then \
|
||||||
|
pecl install xdebug-3.1.2; \
|
||||||
else \
|
else \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
pecl install xdebug-2.5.5; \
|
pecl install xdebug-2.5.5; \
|
||||||
else \
|
else \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ]; then \
|
if [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ]; then \
|
||||||
pecl install xdebug-2.9.0; \
|
pecl install xdebug-2.9.0; \
|
||||||
else \
|
else \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "1" ]; then \
|
|
||||||
pecl install xdebug-2.9.8; \
|
pecl install xdebug-2.9.8; \
|
||||||
else \
|
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
|
|
||||||
pecl install xdebug-2.9.8; \
|
|
||||||
else \
|
|
||||||
#pecl install xdebug; \
|
|
||||||
echo "xDebug 3 required, not supported."; \
|
|
||||||
fi \
|
|
||||||
fi \
|
|
||||||
fi \
|
fi \
|
||||||
fi \
|
fi \
|
||||||
fi && \
|
fi && \
|
||||||
|
@ -458,16 +444,23 @@ ARG INSTALL_MONGO=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_MONGO} = true ]; then \
|
RUN if [ ${INSTALL_MONGO} = true ]; then \
|
||||||
# Install the mongodb extension
|
# Install the mongodb extension
|
||||||
|
apt-get install -yqq pkg-config && \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
pecl install mongo && \
|
pecl install mongo; \
|
||||||
echo "extension=mongo.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/mongo.ini && \
|
echo "extension=mongo.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/mongo.ini; \
|
||||||
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/mongo.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-mongo.ini \
|
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/mongo.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-mongo.ini; \
|
||||||
;else \
|
php -m | grep -oiE '^mongo$'; \
|
||||||
pecl install mongodb && \
|
else \
|
||||||
echo "extension=mongodb.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/mongodb.ini && \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && { [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ] || [ $(php -r "echo PHP_MINOR_VERSION;") = "1" ] ;}; then \
|
||||||
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/mongodb.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-mongodb.ini \
|
pecl install mongodb-1.9.2; \
|
||||||
;fi \
|
else \
|
||||||
;fi
|
pecl install mongodb; \
|
||||||
|
fi; \
|
||||||
|
echo "extension=mongodb.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/mongodb.ini; \
|
||||||
|
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/mongodb.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-mongodb.ini; \
|
||||||
|
php -m | grep -oiE '^mongodb$'; \
|
||||||
|
fi; \
|
||||||
|
fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# AMQP:
|
# AMQP:
|
||||||
|
@ -552,11 +545,11 @@ ARG INSTALL_SWOOLE=false
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
if [ ${INSTALL_SWOOLE} = true ]; then \
|
if [ ${INSTALL_SWOOLE} = true ]; then \
|
||||||
# Install Php Swoole Extension
|
# Install Php Swoole Extension
|
||||||
if [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "50600" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
echo '' | pecl -q install swoole-2.0.10; \
|
echo '' | pecl -q install swoole-2.0.10; \
|
||||||
elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70000" ]; then \
|
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ]; then \
|
||||||
echo '' | pecl -q install swoole-4.3.5; \
|
echo '' | pecl -q install swoole-4.3.5; \
|
||||||
elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70100" ]; then \
|
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "1" ]; then \
|
||||||
echo '' | pecl -q install swoole-4.5.11; \
|
echo '' | pecl -q install swoole-4.5.11; \
|
||||||
else \
|
else \
|
||||||
echo '' | pecl -q install swoole; \
|
echo '' | pecl -q install swoole; \
|
||||||
|
@ -566,6 +559,27 @@ RUN set -eux; \
|
||||||
php -m | grep -q 'swoole'; \
|
php -m | grep -q 'swoole'; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# xlswriter:
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
ARG INSTALL_XLSWRITER=false
|
||||||
|
RUN set -eux; \
|
||||||
|
if [ ${INSTALL_XLSWRITER} = true ]; then \
|
||||||
|
# Install Php xlswriter Extension
|
||||||
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") != "5" ]; then \
|
||||||
|
echo '' | pecl -q install xlswriter && \
|
||||||
|
echo "extension=xlswriter.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/xlswriter.ini && \
|
||||||
|
ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/xlswriter.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-xlswriter.ini && \
|
||||||
|
php -m | grep -q 'xlswriter'; \
|
||||||
|
else \
|
||||||
|
echo "PHP Extension for xlswriter is not supported for PHP 5.0"; \
|
||||||
|
fi \
|
||||||
|
;fi
|
||||||
|
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# Taint EXTENSION
|
# Taint EXTENSION
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
@ -666,6 +680,7 @@ RUN if [ ${INSTALL_IONCUBE} = true ]; then \
|
||||||
&& echo "zend_extension=ioncube_loader.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/ioncube.ini \
|
&& echo "zend_extension=ioncube_loader.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/ioncube.ini \
|
||||||
&& ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/ioncube.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/0ioncube.ini \
|
&& ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/ioncube.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/0ioncube.ini \
|
||||||
&& rm -rf /tmp/ioncube* \
|
&& rm -rf /tmp/ioncube* \
|
||||||
|
&& php -m | grep -oiE '^ionCube Loader$' \
|
||||||
;fi \
|
;fi \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
@ -715,7 +730,7 @@ ENV NVM_NODEJS_ORG_MIRROR ${NVM_NODEJS_ORG_MIRROR}
|
||||||
RUN if [ ${INSTALL_NODE} = true ]; then \
|
RUN if [ ${INSTALL_NODE} = true ]; then \
|
||||||
# Install nvm (A Node Version Manager)
|
# Install nvm (A Node Version Manager)
|
||||||
mkdir -p $NVM_DIR && \
|
mkdir -p $NVM_DIR && \
|
||||||
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash \
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash \
|
||||||
&& . $NVM_DIR/nvm.sh \
|
&& . $NVM_DIR/nvm.sh \
|
||||||
&& nvm install ${NODE_VERSION} \
|
&& nvm install ${NODE_VERSION} \
|
||||||
&& nvm use ${NODE_VERSION} \
|
&& nvm use ${NODE_VERSION} \
|
||||||
|
@ -911,9 +926,13 @@ RUN if [ ${INSTALL_OCI8} = true ]; then \
|
||||||
libaio-dev && \
|
libaio-dev && \
|
||||||
# Install PHP extensions
|
# Install PHP extensions
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.0.10; \
|
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.0.12; \
|
||||||
else \
|
elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
|
||||||
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.2.0; \
|
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-2.2.0; \
|
||||||
|
elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "80000" ]; then \
|
||||||
|
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8-3.0.1; \
|
||||||
|
else \
|
||||||
|
echo 'instantclient,/opt/oracle/instantclient_12_1/' | pecl install oci8; \
|
||||||
fi \
|
fi \
|
||||||
&& echo "extension=oci8.so" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini \
|
&& echo "extension=oci8.so" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini \
|
||||||
&& php -m | grep -q 'oci8' \
|
&& php -m | grep -q 'oci8' \
|
||||||
|
@ -1043,34 +1062,36 @@ RUN set -eux; \
|
||||||
if [ ${INSTALL_MSSQL} = true ]; then \
|
if [ ${INSTALL_MSSQL} = true ]; then \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
apt-get install -yqq php5.6-sybase freetds-bin freetds-common libsybdb5 \
|
apt-get install -yqq php5.6-sybase freetds-bin freetds-common libsybdb5 \
|
||||||
&& php -m | grep -q 'mssql' \
|
&& php -m | grep -oiE '^mssql$' \
|
||||||
&& php -m | grep -q 'pdo_dblib' \
|
&& php -m | grep -oiE '^pdo_dblib$' \
|
||||||
;else \
|
;else \
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# The following steps were taken from
|
# The following steps were taken from
|
||||||
# https://github.com/Microsoft/msphpsql/wiki/Install-and-configuration
|
# https://github.com/Microsoft/msphpsql/wiki/Install-and-configuration
|
||||||
###########################################################################
|
###########################################################################
|
||||||
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \
|
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \
|
||||||
curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list > /etc/apt/sources.list.d/mssql-release.list && \
|
curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list > /etc/apt/sources.list.d/mssql-release.list && \
|
||||||
apt-get update -yqq && \
|
apt-get update -yqq && \
|
||||||
ACCEPT_EULA=Y apt-get install -yqq msodbcsql17 mssql-tools unixodbc unixodbc-dev libgss3 odbcinst locales && \
|
ACCEPT_EULA=Y apt-get install -yqq msodbcsql17 mssql-tools unixodbc unixodbc-dev libgss3 odbcinst locales && \
|
||||||
ln -sfn /opt/mssql-tools/bin/sqlcmd /usr/bin/sqlcmd && \
|
ln -sfn /opt/mssql-tools/bin/sqlcmd /usr/bin/sqlcmd && \
|
||||||
ln -sfn /opt/mssql-tools/bin/bcp /usr/bin/bcp && \
|
ln -sfn /opt/mssql-tools/bin/bcp /usr/bin/bcp && \
|
||||||
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
|
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
|
||||||
locale-gen && \
|
locale-gen \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "2" ]; then \
|
&& if [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70000" ]; then \
|
||||||
pecl install pdo_sqlsrv-5.8.1 sqlsrv-5.8.1 \
|
|
||||||
;elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "1" ]; then \
|
|
||||||
pecl install pdo_sqlsrv-5.6.1 sqlsrv-5.6.1 \
|
|
||||||
;elif [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && [ $(php -r "echo PHP_MINOR_VERSION;") = "0" ]; then \
|
|
||||||
pecl install pdo_sqlsrv-5.3.0 sqlsrv-5.3.0 \
|
pecl install pdo_sqlsrv-5.3.0 sqlsrv-5.3.0 \
|
||||||
|
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70100" ]; then \
|
||||||
|
pecl install pdo_sqlsrv-5.6.1 sqlsrv-5.6.1 \
|
||||||
|
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70200" ]; then \
|
||||||
|
pecl install pdo_sqlsrv-5.8.1 sqlsrv-5.8.1 \
|
||||||
|
;elif [ $(php -r "echo PHP_VERSION_ID - PHP_RELEASE_VERSION;") = "70300" ]; then \
|
||||||
|
pecl install pdo_sqlsrv-5.9.0 sqlsrv-5.9.0 \
|
||||||
;else \
|
;else \
|
||||||
pecl install pdo_sqlsrv sqlsrv \
|
pecl install pdo_sqlsrv sqlsrv \
|
||||||
;fi && \
|
;fi && \
|
||||||
echo "extension=sqlsrv.so" > /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-sqlsrv.ini && \
|
|
||||||
echo "extension=pdo_sqlsrv.so" > /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-pdo_sqlsrv.ini && \
|
echo "extension=pdo_sqlsrv.so" > /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-pdo_sqlsrv.ini && \
|
||||||
php -m | grep -q 'sqlsrv' && \
|
echo "extension=sqlsrv.so" > /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-sqlsrv.ini && \
|
||||||
php -m | grep -q 'pdo_sqlsrv' \
|
php -m | grep -oiE '^pdo_sqlsrv$' && \
|
||||||
|
php -m | grep -oiE '^sqlsrv$' \
|
||||||
;fi \
|
;fi \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
@ -1400,13 +1421,11 @@ USER root
|
||||||
ARG INSTALL_AUDIOWAVEFORM=false
|
ARG INSTALL_AUDIOWAVEFORM=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_AUDIOWAVEFORM} = true ]; then \
|
RUN if [ ${INSTALL_AUDIOWAVEFORM} = true ]; then \
|
||||||
apt-get -y install git wget make cmake gcc g++ libmad0-dev libid3tag0-dev libsndfile1-dev libgd-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \
|
apt-get -y install wget make cmake gcc g++ libmad0-dev libid3tag0-dev libsndfile1-dev libgd-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \
|
||||||
|
&& cd /tmp \
|
||||||
&& git clone https://github.com/bbc/audiowaveform.git \
|
&& git clone https://github.com/bbc/audiowaveform.git \
|
||||||
&& cd audiowaveform \
|
&& cd audiowaveform \
|
||||||
&& wget https://github.com/google/googletest/archive/release-1.10.0.tar.gz \
|
&& git clone --depth=1 https://github.com/google/googletest.git -b release-1.11.0 \
|
||||||
&& tar xzf release-1.10.0.tar.gz \
|
|
||||||
&& ln -s googletest-release-1.10.0/googletest googletest \
|
|
||||||
&& ln -s googletest-release-1.10.0/googlemock googlemock \
|
|
||||||
&& mkdir build \
|
&& mkdir build \
|
||||||
&& cd build \
|
&& cd build \
|
||||||
&& cmake .. \
|
&& cmake .. \
|
||||||
|
@ -1675,6 +1694,45 @@ RUN set -xe; \
|
||||||
&& rm /tmp/ssdb-client-php.tar.gz \
|
&& rm /tmp/ssdb-client-php.tar.gz \
|
||||||
&& docker-php-ext-enable ssdb \
|
&& docker-php-ext-enable ssdb \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# trader:
|
||||||
|
#####################################
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ARG INSTALL_TRADER=false
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_TRADER} = true ]; then \
|
||||||
|
pecl install trader \
|
||||||
|
&& echo "extension=trader.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/trader.ini \
|
||||||
|
&& ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/trader.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-trader.ini \
|
||||||
|
;fi
|
||||||
|
|
||||||
|
#
|
||||||
|
#--------------------------------------------------------------------------
|
||||||
|
# zmq
|
||||||
|
#--------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
|
ARG INSTALL_ZMQ=false
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_ZMQ} = true ]; then \
|
||||||
|
apt-get install --yes git libzmq3-dev \
|
||||||
|
&& git clone https://github.com/zeromq/php-zmq.git \
|
||||||
|
&& cd php-zmq \
|
||||||
|
&& phpize \
|
||||||
|
&& ./configure \
|
||||||
|
&& make \
|
||||||
|
&& make install \
|
||||||
|
&& cd .. \
|
||||||
|
&& rm -fr php-zmq \
|
||||||
|
&& echo "extension=zmq.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/zmq.ini \
|
||||||
|
&& ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/zmq.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/20-zmq.ini \
|
||||||
|
;fi
|
||||||
|
|
||||||
#
|
#
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Final Touch
|
# Final Touch
|
||||||
|
|
|
@ -1,83 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -xe;
|
|
||||||
|
|
||||||
if type "tee" 2>/dev/null && [ -n "${UBUNTU_SOURCE}" ]; then
|
|
||||||
SOURCE_PATH="/etc/apt/sources.list"
|
|
||||||
cp ${SOURCE_PATH} ${SOURCE_PATH}.bak && rm -rf ${SOURCE_PATH}
|
|
||||||
case "${UBUNTU_SOURCE}" in
|
|
||||||
"aliyun")
|
|
||||||
tee ${SOURCE_PATH} <<-'EOF'
|
|
||||||
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
|
|
||||||
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
|
|
||||||
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
|
|
||||||
deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
|
|
||||||
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
|
|
||||||
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
|
|
||||||
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
|
|
||||||
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
|
|
||||||
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
|
|
||||||
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
|
|
||||||
EOF
|
|
||||||
;;
|
|
||||||
"zju")
|
|
||||||
tee ${SOURCE_PATH} <<-'EOF'
|
|
||||||
deb http://mirrors.zju.edu.cn/ubuntu/ focal main multiverse restricted universe
|
|
||||||
deb http://mirrors.zju.edu.cn/ubuntu/ focal-backports main multiverse restricted universe
|
|
||||||
deb http://mirrors.zju.edu.cn/ubuntu/ focal-proposed main multiverse restricted universe
|
|
||||||
deb http://mirrors.zju.edu.cn/ubuntu/ focal-security main multiverse restricted universe
|
|
||||||
deb http://mirrors.zju.edu.cn/ubuntu/ focal-updates main multiverse restricted universe
|
|
||||||
deb-src http://mirrors.zju.edu.cn/ubuntu/ focal main multiverse restricted universe
|
|
||||||
deb-src http://mirrors.zju.edu.cn/ubuntu/ focal-backports main multiverse restricted universe
|
|
||||||
deb-src http://mirrors.zju.edu.cn/ubuntu/ focal-proposed main multiverse restricted universe
|
|
||||||
deb-src http://mirrors.zju.edu.cn/ubuntu/ focal-security main multiverse restricted universe
|
|
||||||
deb-src http://mirrors.zju.edu.cn/ubuntu/ focal-updates main multiverse restricted universe
|
|
||||||
EOF
|
|
||||||
;;
|
|
||||||
"tsinghua")
|
|
||||||
tee ${SOURCE_PATH} <<-'EOF'
|
|
||||||
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
|
|
||||||
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
|
|
||||||
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
|
|
||||||
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
|
|
||||||
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
|
|
||||||
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
|
|
||||||
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
|
|
||||||
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
|
|
||||||
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
|
|
||||||
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
|
|
||||||
EOF
|
|
||||||
;;
|
|
||||||
"163")
|
|
||||||
tee ${SOURCE_PATH} <<-'EOF'
|
|
||||||
deb http://mirrors.163.com/ubuntu/ focal main restricted universe multiverse
|
|
||||||
deb http://mirrors.163.com/ubuntu/ focal-security main restricted universe multiverse
|
|
||||||
deb http://mirrors.163.com/ubuntu/ focal-updates main restricted universe multiverse
|
|
||||||
deb http://mirrors.163.com/ubuntu/ focal-proposed main restricted universe multiverse
|
|
||||||
deb http://mirrors.163.com/ubuntu/ focal-backports main restricted universe multiverse
|
|
||||||
deb-src http://mirrors.163.com/ubuntu/ focal main restricted universe multiverse
|
|
||||||
deb-src http://mirrors.163.com/ubuntu/ focal-security main restricted universe multiverse
|
|
||||||
deb-src http://mirrors.163.com/ubuntu/ focal-updates main restricted universe multiverse
|
|
||||||
deb-src http://mirrors.163.com/ubuntu/ focal-proposed main restricted universe multiverse
|
|
||||||
deb-src http://mirrors.163.com/ubuntu/ focal-backports main restricted universe multiverse
|
|
||||||
EOF
|
|
||||||
;;
|
|
||||||
"ustc")
|
|
||||||
tee ${SOURCE_PATH} <<-'EOF'
|
|
||||||
deb https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse
|
|
||||||
deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse
|
|
||||||
deb https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
|
|
||||||
deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
|
|
||||||
deb https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
|
|
||||||
deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
|
|
||||||
deb https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse
|
|
||||||
deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse
|
|
||||||
deb https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
|
|
||||||
deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
|
|
||||||
EOF
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "Please check whether there is aliyun|zju|tsinghua|163|ustc in the parameter"
|
|
||||||
exit 1;;
|
|
||||||
esac
|
|
||||||
fi
|
|
Loading…
Reference in New Issue