Commit Graph

560 Commits

Author SHA1 Message Date
mouyong 4893347980 remove setting remote_log 2019-08-09 09:14:10 +08:00
mouyong f01cab7742 set xdebug.remote_autostart=0 https://github.com/laradock/laradock/issues/2112#issuecomment-489603086 2019-08-09 09:08:49 +08:00
mouyong f64adc2114 workspace and php-fpm change source 2019-08-09 08:52:32 +08:00
Alec Joy 47bb995cad
Typo in PHP version check 2019-08-05 09:53:36 -04:00
Alec Joy b2de93cc1b Add support for pcov code coverage driver 2019-08-04 14:07:05 -04:00
Stefan Neuhaus 044261b06f Implement Gearman Message broker & PHP Extension 2019-07-25 12:03:21 +02:00
stefan 1602ff2dd0 Implement Cassandra DB & PHP Extension (#2214)
* Implementing Cassandra DB & PHP Extension
* Update documentation for Cassandra
* Added Cassandra for testing CI
2019-07-25 16:18:33 +08:00
Stefan Neuhaus 9a852e7bc7 Implementing Cassandra DB & PHP Extension 2019-07-25 08:02:59 +02:00
Marco Manieri 3a4c9158d2 Cannot load Xdebug - it was already loaded (#2123)
zend_extension=xdebug.so is already in /etc/php/7.2/cli/conf.d/20-xdebug.ini

rediefing the alias causes the was already loaded notice.

also /var/www/vendor/bin/phpunit instead of ./vendor/bin/phpunit breaks the alias when vendor directory is not directly under the root app directory
2019-07-22 22:31:46 +08:00
Mahdi Hazaveh 60afd8feb3 run apt-get update before attempting to install php-redis on workspace container
Fixes E: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/pool/main/p/php-redis/php-redis_4.2.0-1+ubuntu16.04.1+deb.sury.org+1_amd64.deb  404  Not Found
2019-07-12 09:57:17 +08:00
skipworkgh e9eacfafa7 Added support for the mailparse php pecl extension 2019-07-02 16:12:05 +02:00
Artyom Mezin ca80dd1694 Add laravel installer for root user (#2176) 2019-06-19 17:21:28 +08:00
vlauciani 5bf8be6303 Add 'sshpass' and 'ping' packages into 'workspace' and 'php-fpm' Docker image (#2164)
* Update env-example
Added variables to install 'ping' and 'sshpass'
* Update docker-compose.yml
Import variable from '.env' to set 'INSTALL_MYSQL_CLIENT' and 'INSTALL_PING'
* Update Dockerfile
Add code to import variables from 'docker-compose.yml' to install 'ping' and/or 'sshpass'
2019-06-06 11:59:13 +08:00
xiagw bc8772441b add php ext "taint" (#2150)
* add php ext "taint", only support php7.
2019-05-29 08:56:40 +08:00
Alexandr Shevchenko 23193babf4 Workspace: blackfire gpg.key url fixed (#2133) 2019-05-18 13:06:30 +08:00
Daniel Seif c7289f7db3 GNU parallel in workspace container (#2102)
* added parallel workers
* removed debug sleep
* added documentation how to install GNU parallel
2019-05-09 13:42:50 +08:00
Tunde Aromire a03c225e27 Installation of ffmpeg (#2078)
* Install ffmpeg in workspace.
* Documented the process for install ffmpeg.
2019-04-09 14:32:40 +08:00
ahkui 58d7d4fa0b add powerline to workspace (#2062) 2019-03-28 09:54:51 +08:00
Yu Li 1f22e86d92 workspace add inotify and fswatch (#2059) 2019-03-26 19:00:58 +08:00
Shao Yu-Lung (Allen) 329462a637
update base image (#2034) 2019-03-03 20:57:07 +08:00
Shao Yu-Lung (Allen) d964e2898c
fix Dockerfile parse error line
#2022
2019-03-01 12:04:32 +08:00
salvo-github 2d7b780e56 Auth file for magento 2 installation (#2022) 2019-03-01 11:04:03 +08:00
Shao Yu-Lung (Allen) cf6a9ba2c9
php-fpm and workspace replace base image (#2025)
* php-fpm and workspace replace base image
* Aerospike PHP 5.6.40 Debian 9.6 is not supported, travis-ci build by pass.
2019-03-01 11:02:13 +08:00
Shao Yu-Lung (Allen) 61d7b18922
Optimize php-fpm and workspace Dockerfile. (#2015) 2019-02-23 16:46:46 +08:00
Shao Yu-Lung (Allen) cde20c3ced
Fix workspace php56 install V8JS build fail (#2013)
* Add check swoole extenstion after install.
* Fix php 5.6 install swoole-2.0.11 get segmentation fault.
* Fix php 5.6 install v8js build fail.
2019-02-23 12:24:58 +08:00
Shao Yu-Lung (Allen) 1ec9244f7f
Fix workspace php56 build fail (#2012)
* check swoole extenstion after install.
* php 5.6 install swoole-2.0.11 downgrade version to 2.0.10 avoid segmentation fault.
2019-02-23 00:52:14 +08:00
Shao Yu-Lung (Allen) 176d4e8033
php 7.0 php-fpm and workspace PECL install sqlsrv pdo_sqlsrv specify 5.3.0 version. (#2010) 2019-02-22 23:45:21 +08:00
Shao Yu-Lung (Allen) b0edaf93a1
reorganizaion aerospike extension install (#2008) 2019-02-22 17:46:25 +08:00
Shao Yu-Lung (Allen) 27af2bca8c
fix install zip fail (#1998) 2019-02-17 01:19:20 +08:00
Yunier López Martínez 61ac73e806 Added WORKSPACE_INSTALL_NPM_ANGULAR_CLI option to install Angular CLI to Workspace (#1857) 2019-02-17 00:08:33 +08:00
vladyslavstartsev 1282c413fd added zip to php-fpm workspace container (so there is no composer warning) (#1903) 2019-02-16 23:32:03 +08:00
scappuccino ee2db98c61 xsl support added (feature for magento 2) (#1995)
* Update php-fpm Dockerfile
* Update workspace Dockerfile
* Update env-example
2019-02-16 23:03:42 +08:00
Shao Yu-Lung (Allen) 931f99ed0f
workspace redis extension use apt install. (#1990) 2019-02-12 18:37:38 +08:00
Alex Mayer 53ca88714c Map cll And cla Aliases To Correct Commands (#1696) 2019-02-09 19:58:12 +08:00
Dmitry Ossipov c7aa535598 Added WP-CLI support to workspace (#1748)
* Added WP-CLI support
* Updated documentation for WP-CLI
2019-02-09 19:48:28 +08:00
Atef Ben Ali e0dc683d3f Add `gloga` alias (#1970)
This add `git log --oneline --decorate --graph --all` command alias.
2019-02-09 19:25:50 +08:00
Slava Razum d27f4368ee Run bash when login by `laradock` via ssh (#1541) 2019-02-09 17:06:26 +08:00
Atef Ben Ali 163eb1f73a add more `git` aliases (#1922) 2019-01-08 15:34:18 +08:00
Tomonso Ejang 3e771dbcfc Typo in PHP_VERSION for PHP gmp extension (#1933) 2019-01-08 15:31:21 +08:00
Mike P. Sinn 2689638d7d MySQL Client in Workspace (#1892) 2018-11-27 16:59:14 +08:00
Lan Phan fa7d3c239c Fix Permission denied (#1893)
* Revert "default user for workspace is laradock, so that owner of log file when running php artisan command doesn't change (#1875)"

This reverts commit 156d124db0.

* update document to inform user should add --user=laradock when exec into workspace, update sync.sh bash to exec into workspace with user laradock
2018-11-27 16:57:36 +08:00
Lan Phan 156d124db0 default user for workspace is laradock, so that owner of log file when running php artisan command doesn't change (#1875) 2018-11-22 08:10:09 +08:00
ahkui a1af01b137 update workspace dockerfile (#1759)
fix workspace user laradock laravel command not found
2018-11-22 08:07:54 +08:00
Brice 1519c80036 Enable calling node commands (npm, bower, etc) from the host with 'docker-compose exec' (#1481) 2018-11-22 08:05:44 +08:00
Pavel c1e8e955a1 Fix typo in seed alias (#1843) 2018-11-13 20:54:02 +08:00
Frank Yuan 9cfe5c6156 add phalcon ext (#1806)
* add phalcon ext
2018-09-22 15:45:41 +08:00
Null 784aab2043 Update NVM installer (#1794) 2018-09-17 22:11:30 +08:00
Null 61576c0b1b Change to stable CLI interface (#1793)
workspace apt command
2018-09-16 18:00:46 +08:00
Alex Mayer 70c1be4168 Point ea Alias To Correct File (#1698) 2018-09-16 17:58:26 +08:00
semenikhin 86a4108ef4 fix comment (#1790)
GMP
2018-09-15 21:20:22 +08:00
Madson Jr 94f262a793
Merge branch 'master' into graphviz 2018-09-10 22:40:19 -03:00
ganlei 00df369e96 Add IonCube Loader (zend_extension) (#1763) 2018-09-08 21:31:05 +08:00
Tatamo 2e2cb6df22 Enable `docker-compose exec workspace npm` (and yarn, etc.) (#1743)
* fix node PATH to enable docker-compose exec workspace npm
* add PATH for yarn to enable docker-compose exec workspace yarn
2018-08-31 20:19:52 +08:00
vladyslavstartsev 39469e1404 added ssh2 to workspace and php-fpm (#1756) 2018-08-28 14:16:25 +08:00
vladyslavstartsev aa84dd8616 added ext-gmp to workspace container (#1762) 2018-08-21 19:01:12 +08:00
Shao Yu-Lung (Allen) 1b865dd153
fix php5.6 workspace aerospike travis-ci build failed. (#1738) 2018-07-31 22:38:02 +08:00
Shao Yu-Lung (Allen) 764e484599
Env variable conflict (#1734)
* php-fpm and workspace arg var rename: PHP_VERSION to  LARADOCK_PHP_VERSION.
* travis-ci skip phpbdg
2018-07-29 12:00:13 +08:00
Alex Mayer 1acbebc2a3 Update MSSQL Drivers To Newest Version (#1707)
Remove version lock from pecl install
Update to Debian 9 repos since our image is Debian 9
Remove duplicate locales-gen line
Closes #1622
2018-07-28 15:08:01 +08:00
brunen9 b2ab970d04 Upgrade PostgreSQL client to version 10. (#1508) 2018-07-20 15:48:09 +08:00
Madson Jr 7aba9991f6 Conflict merge 2018-07-18 13:26:27 -03:00
Madson Jr 238a78aafc Merge branch 'master' into graphviz 2018-07-18 13:25:39 -03:00
Madson Jr e07ee7d07d GraphViz support in workspace
Issue #1003
2018-07-18 13:25:16 -03:00
Vladislav Otchenashev 8624335f61 Update crontab to reference full PHP path (#1517)
Otherwise it doesn't work
2018-07-13 22:36:43 +08:00
Ari Kaiy 2ec23122e7 Update version pointer node (#1598) 2018-06-30 17:08:02 +08:00
Eugene Kirdzei a1e01ac19b Install phpdbg (#1612)
* Install phpdbg
* Change documentstion
2018-06-30 16:54:46 +08:00
Abdelrahman Omran eccc149f45 Fix current shell on root when installing svgo (#1644)
This fix the following errors:
/bin/sh: 13: /root/.bashrc: shopt: not found
/bin/sh: 21: /root/.bashrc: shopt: not found
/bin/sh: 103: /root/.bashrc: source: not found
2018-06-30 16:50:37 +08:00
Emanuele Menon dcf6b6d9ac Install of libpng16 library for fix react and react with material-ui application (#1625)
* Added commands in Workspace Dockerfile for installation of libpng with configurable env argument switch

* Updated documentation
2018-06-28 13:14:06 +08:00
Rony Debnath fd56c4dcda Update VUE CLI to v3 (#1654) 2018-06-27 18:48:32 +08:00
Shao Yu-Lung (Allen) 08dfc9f816
php-fpm, workspace when php5 support old mongo ext. (#1642) 2018-06-25 20:16:25 +08:00
Abdelrahman Omran b71f50bf83 Fix apt-get deprecated --force-yes flag & noninteractive if needed (#1640) 2018-06-24 23:19:49 +08:00
Abdelrahman Omran 7d1dc66f77 Conditionally install npm tools (#1641) 2018-06-24 23:19:09 +08:00
Abdelrahman Omran 600a6154b4 Automate xdebug installation and simplify instructions (#1630) 2018-06-24 09:46:12 +08:00
Shao Yu-Lung (Allen) 0e9d044c6f
Merge pull request #1606 from ahkui/fix_workspace_no_nasm
fix #1607  workspace no nasm
2018-06-22 18:30:49 +08:00
bestlong a3cbfd71f5 Fix php7.0 swoole build failed. 2018-06-18 21:27:23 +08:00
bestlong f47e40b262 fix php5.6 DRUSH "Segmentation fault (core dumped)" error. 2018-06-17 23:20:18 +08:00
KUI\ahkui 65444d39b6 fix workspace no nasm 2018-06-12 20:15:30 +08:00
bestlong e8eb97b398 php5 support MSSQL extension 2018-06-11 14:23:40 +08:00
bestlong 0f4a417f4e fix aerospike build failed
php-fpm and workspace
2018-06-01 01:30:35 +08:00
Shao Yu-Lung (Allen) 42a960338b
Merge pull request #1530 from ahkui/patch-1
Update Dockerfile install python pip, virtualenv way.
2018-05-29 14:01:50 +08:00
bestlong 573b8e0afd clean up apt update 2018-05-28 11:15:03 +08:00
Shao Yu-Lung (Allen) 185ba60a09
Merge branch 'master' into master 2018-05-28 10:46:18 +08:00
Shao Yu-Lung (Allen) a03ce23bf5
Merge pull request #1520 from fnandogp/master
fix: Fix Drush install for the workspace
2018-05-28 10:30:50 +08:00
bestlong d5efd5309e update pecl channel 2018-05-28 08:47:22 +08:00
Shao Yu-Lung (Allen) 9250326664
Swoole support php5 (#1571)
* php5 fpm support swoole
* php5 workspace support swoole
2018-05-27 19:47:13 +08:00
Shao Yu-Lung (Allen) 808bd72d13
Fix #1544, Unable to locate package libgmp-dev. (#1569)
* Fix #1544, Unable to locate package libgmp-dev.
2018-05-27 10:06:00 +08:00
Shao Yu-Lung (Allen) aee1adb0a1
Merge pull request #1533 from kaliberx/master
Add subversion support in workspace
2018-05-25 22:10:58 +08:00
KUI\ahkui d08177d2c2 fix wrong spelling 2018-05-20 19:22:30 +08:00
Grzegorz Dąbrowski b990af3353 Add subversion support in workspace 2018-05-07 10:58:55 +02:00
ahkui b2c09f6b15
Update Dockerfile
fix pip v10 error 
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in <module>
    from pip import main
ImportError: cannot import name main
2018-05-07 15:03:52 +08:00
Johan Eliasson 77bea30cb0
Update apt sources before installing imagemagick
#1512
2018-05-04 22:04:35 +02:00
Fernado Pinheiro dac336e6a1 fix: Fix Drush install for the workspace 2018-05-02 10:49:19 -03:00
Wouter van Dongen 3ad17eca0a - Fix Drush installation
- Consistent naming of arguments
- Add deprecated install note
2018-04-23 20:30:47 +02:00
Mahmoud Zalt 101986c76f merge the php versions dockerfiles in php-fpm, workspace and php-worker 2018-04-06 10:04:56 +03:00
Tom Fenech 1f193a5310 Add missing syntax to continue line 2018-04-04 20:29:14 +02:00
Mahmoud Zalt 0586247e3f
Merge branch 'master' into debug-workspace-scheduler 2018-04-04 17:48:46 +03:00
Daniel Hunsaker 31a4e29c81 Apply COPY vs ADD best practices
Should only use `ADD` for URLs (and even then, `curl` or `wget` are preferred, for numerous reasons, even within this repo) and when extracting archive contents as part of the `ADD` operation; otherwise `COPY` is clearer and (slightly) more efficient.
2018-04-04 06:13:28 -06:00
Mahmoud Zalt 805d7f94e8
Merge pull request #1399 from mariano-dagostino/1372-ssh
Make possible to login via ssh using the laradock user.
2018-03-25 19:14:10 +03:00
Shao Yu Lung e6817288f8 workspace sql server section: increase install check 2018-03-24 14:23:01 +08:00
Shao Yu Lung 141d2dbe7f fix file owner. 2018-03-23 16:09:10 +08:00
Shao Yu Lung 4d384c0a67 fix mistake #1427 about user aliases. 2018-03-23 15:17:35 +08:00
Andrew Baranov 245515b41d Use xDebug with Laravel scheduler inside workspace container. 2018-03-22 12:38:42 +03:00
Shao Yu Lung 99c7758799 update default install arg and remove extra run command 2018-03-20 10:59:59 +08:00
Shao Yu Lung 5773d270ca clean up aerospike and empty line 2018-03-19 22:15:24 +08:00
Shao Yu Lung 70e10a4953 MAINTAINER is deprecated 2018-03-16 17:34:47 +08:00
Shao Yu Lung 1ab5b405a9 remove wrong comment info. 2018-03-16 16:24:20 +08:00
Shao Yu Lung 415a6159f6 fix workspace mssql build fail 2018-03-16 15:22:21 +08:00
Yu-Lung Shao (Allen) 2cf368e2cc
Arg not consumed (#1430)
* fix arg CHROME_DRIVER_VERSION not consumed
* fix arg INSTALL_V8JS not consumed
2018-03-16 11:39:32 +08:00
Yu-Lung Shao (Allen) f08c3bda4d
workspace in gitlab build fail (#1429)
fix "sed: couldn't open temporary file /home/laradock/sed6KGnMb: Permission denied"
2018-03-16 10:41:54 +08:00
Shao Yu Lung 40796651f6 workspace Dockerfile remove duplicate command in User Aliases section. 2018-03-15 11:22:43 +08:00
Yu-Lung Shao (Allen) 188a7d7624
Merge pull request #1425 from suheb/fix/imagemagick
Run apt-get update before installing imagemagick in workspace
2018-03-15 09:26:00 +08:00
Yu-Lung Shao (Allen) 3f1f60da91
Merge pull request #1412 from CantonBolo/optimize
Custom composer repo and npm registry url in php72
2018-03-15 09:24:07 +08:00
Suhaib Khan ce8bdb91cf Run apt-get update before installing imagemagick in workspace
Signed-off-by: Suhaib Khan <suheb.work@gmail.com>
2018-03-13 12:18:08 +05:30
Justen Chen b7b7690bbe The PPA of 'pinepain/libv8-5.4' has been deprecated, use 'pinepain/libv8-archived' instead 2018-03-09 11:43:40 +08:00
Bolo Lai e054b622f3 Custom composer repo and npm registry url in php72 2018-03-05 02:08:11 +08:00
Shao Yu Lung 4169a9b357 Support Prestissimo 2018-02-27 08:12:16 +08:00
Yu-Lung Shao (Allen) 8d0bd8505c
Merge pull request #1354 from taufek/tj-install-prestissimo
Install Prestissimo in Workspace
2018-02-27 00:00:25 +08:00
Mariano D'Agostino 9b328cce1f Make possible to log in via ssh using the laradock user 2018-02-26 09:52:50 -03:00
Yu-Lung Shao (Allen) 3b0f271782
Merge pull request #1368 from Alexanderwmc/my-fix-branch
update nvm to 0.33.8
2018-02-26 20:26:38 +08:00
Yu-Lung Shao (Allen) ca376935e1
Merge pull request #1382 from desaroger/php-72-pr
Add PHP 7.2 support and fix issues on 5.6-7.0-7.1 versions
2018-02-26 10:43:16 +08:00
Yu-Lung Shao (Allen) 16f88029e0
Fix install deployer fail
Install deployer from phar
2018-02-22 17:20:28 +08:00
Bolo Lai 4b5a1ef628 support custom composer repo url and npm registry url 2018-02-21 13:13:19 +08:00
desaroger 76da02e779 Add PHP version checkers on all php-related dockerfiles 2018-02-17 09:26:46 +01:00
desaroger a52a944003 Install deployer from phar to be compatible with laravel 4 2018-02-17 08:54:02 +01:00
desaroger 4cffb2fc99 Avoid to install PHP latest on a PHP 7.1 dockerfile 2018-02-17 08:37:25 +01:00
desaroger 92dda4695c Changes to make travis work, copied from spyridonas PR 2018-02-16 21:12:14 +01:00
desaroger c42e039945 Downgrade swoole to pass travis 5.6 test 2018-02-16 21:07:45 +01:00
desaroger 91131f0963 Add PHP 7.2 support 2018-02-16 18:40:13 +01:00
Shao Yu Lung f53565f2a6 Fix workspace, PHP56 build fail
pecl/swoole requires PHP (version >= 7.0.0)
2018-02-11 13:04:20 +08:00
Alexanderwmc 87e1bdeb92 update nvm to 0.33.8 2018-02-06 14:29:41 +08:00
Taufek Johar 0b902e3e96 Install Prestissimo in Workspace
**Why we need this change?**

[Prestissimo](https://github.com/hirak/prestissimo) will enabled `composer` to install plugins in parallel.

**Source**

http://jackmcdade.com/blog/tired-of-waiting
2018-01-17 10:21:08 +08:00
Mahmoud Zalt 0077de28a1
Merge pull request #1345 from jdxia/master
workspace container adds swoole
2018-01-09 19:23:10 +01:00
Mahmoud Zalt 368c85dc61
Merge pull request #1326 from ed-fruty/add_amqp_supports
Added support for AMQP extension in workspace and php-fpm containers.
2018-01-09 19:16:30 +01:00
x c44338e370 workspace container adds swoole 2018-01-09 11:25:57 +08:00
Fruty 0aaa2c742e Added support for AMQP extension in workspace and php-fpm containers. 2017-12-28 14:25:32 +02:00
Fruty 4ada536d68 Added laradock user ssh supports for php5.6 and php7.0. 2017-12-28 12:56:11 +02:00
Fruty 222febadb5 Allowed laradock user use ssh settings (copied from root). 2017-12-28 12:53:33 +02:00
Mahmoud Zalt 71cc109334 update base tags 2017-12-17 21:31:37 +01:00
Mahmoud Zalt 0d804cd29a enable remote_connect_back instead of defining remote host in xdebug
and modify the default var display
2017-12-17 21:31:05 +01:00
Shao Yu Lung cd1c9c0d44 fix aerospike build fail 2017-12-10 16:13:39 +08:00
Nate Morris 6ea86fbce3 Add LDAP support to PHP 5.6 workspace
Issue #1296:
PHP 7.0 and 7.1 workspaces support adding the PHP LDAP module. The
PHP 5.6 workspace file seems to have missed this for some reason.
2017-12-05 12:52:35 -06:00
Thorvald Falkenburg 8dea201b68 Remove python installation from Dockerfile-71
Python can be installed by using the WORKSPACE_INSTALL_PYTHON
variable in the .env file. Fixes #1238
2017-11-16 21:31:43 +01:00
Mariano D'Agostino 05dd1b0339 Fixes #1247 by removing /var/log/fastlog and /var/log/lastlog 2017-11-13 13:37:04 -03:00
Thorvald Falkenburg b47963c80d Fix Dockerfile
Building the workspace docker image with Dockerfile-71 failed because
of missing "&&"
2017-11-12 19:45:44 +01:00
Jérôme Desseaux c5ccc2f4ff soving python issue when using INSTALL_NODE=true and VueJS with Laravel. 2017-11-12 11:04:57 +01:00
Jeroen van Oort 23ee4f6679 added IMAP extension to workspace 2017-11-06 11:12:02 +01:00
Mahmoud Zalt c2c30bfd0f update workspace base image version 2017-10-28 04:34:59 +03:00
Thorvald Falkenburg f4ede08b9c Fix variable issues.
Also made the variables introduced with the psql client consistent
with the existing ones. Fixes #1208
2017-10-25 11:40:47 +02:00
Lan Dong Si Hoang (Geraint Dong) 60998ed1e4 Merge branch 'master' into Add_pg_client_to_workspace_phpfpm 2017-10-24 13:03:56 +07:00
Geraint Dong ee03bb607f Add support for pgclient to workspace & php-fpm 2017-10-18 10:04:23 +07:00
Taufek Johar eeee14338f Move Chrome Driver Version to Env
This will allow us to upgrade chrome driver easily. Set the default chrome driver to 2.32.

Also remove the comment and empty line to avoid getting below warning:

```
[WARNING]: Empty continuation lines will become errors in a future release.
```
2017-10-06 22:58:52 +08:00
Taufek Johar 881cbfb8c2 Install Dependencies to Run Dusk Tests
**Why we need this change?**

Currently we are unable to run Dusk (Browser) tests in workspace container. This change,
is to allow us to install all dependencies needed to run Dust test which consists of

1. Linux packages such as xvfb (x-virtual frame buffer to run browser in headless container) and etc.
2. Chrome browser.
3. Chrome driver.

To install the Dusk dependencies.
1. Update `WORKSPACE_INSTALL_DUSK_DEPS` to true.
2. Run `docker-compose build workspace`.

I've also added couple of aliases to facilitate the preparation of test environment.

1. xvfb = `Xvfb -ac :0 -screen 0 1024x768x16 &` (run x-virtual frame buffer in the background)
2. serve = `php artisan serve --quiet &` (run laravel app in the background)

Once those are installed, we will need to update the default chrome driver argument in Laravel 5.5
from `--headless` to `sandbox`. Below are the steps to run Dusk in workspace.

1. `docker-compose run workspace bash` (get into workspace).
2. `laravel new dusk-test` (generate new lavarel app for testing purpose).
3. `cd dusk-test` (change directory to newly generate app folder).
4. `composer install --dev laravel/dusk` (install dusk via composer).
5. `php artisan dusk:install` (generate dusk files).
6. `sed -i '/APP_URL/d' .env` (remove APP_URL entry in .env)
7. `echo 'APP_URL=localhost:8000' >> .env` (add new APP_URL entry in .env)
8. `sed -i--'s/headless/no-sandbox/g' tests/DuskTestCase.php` (replace the default chrome driver argument).
9. `xvfb` (alias to run Xvfb instance in the background).
10. `serve` (alias to run laravel app in the background).
11. `dusk` (alias to run Dusk test).
2017-10-02 20:08:01 +08:00
Kévin Mathieu 04770bc4ec Add PHP LDAP extension if needed 2017-09-29 14:56:28 +02:00
Ademir Mazer Jr [ Nuno ] 3f7988060e Add pecl before mongo install 2017-09-28 17:16:05 -03:00
luciano 61144ab2d9 Change the wrong link to aerospike client PHP 2017-09-25 18:30:00 +01:00
Taufek Johar 8c1e71eca5 Add artisan aliases
Added below php artisan commonly used aliases:

```
dusk =  php artisan dusk
fresh = php artisan migrate:fresh
refresh = php artisan migrate:refresh
rollback = php artisan migrate:rollback
```
2017-09-24 22:16:04 +08:00
Taufek Johar 8cb4c8d62e Add Terraform to Workspace
Added Terraform (www.terraform.io) binary to workspace container.
This tool is useful to spawn resources to multiple cloud providers via config files.
2017-09-23 15:49:55 +08:00
Mahmoud Zalt 801ccd47d2 Merge pull request #1121 from freearhey/master
Added support of ImageMagick
2017-09-06 14:59:29 +03:00
Arhey b2e372054f Fixed php-fpm build 2017-09-05 23:36:30 +03:00
Arhey 0a23d53ee5 Move php-imagick to php-fpm and enable it 2017-09-05 21:47:47 +03:00
wanchia e56801846b add ENV PATH, fix the problem of docker-compose exec workspace npm(or other node-related script). 2017-09-05 11:06:53 +08:00
Arhey f9e6acd4e1 Fix syntax error 2017-09-05 03:15:24 +03:00
Arhey b61ff4f484 Added support of ImageMagick 2017-09-05 02:36:24 +03:00
Eugene Kirdzei cddc934e1e Fix phpreddis installation for all versions of php 2017-09-04 11:33:14 +03:00
Eugene Kirdzei 53b3ad0f7e Fix Php Redis extension installation 2017-08-31 19:29:19 +03:00
terry 93d5b318fe add drupal console to workspace 2017-08-19 22:58:40 +08:00
Mahmoud Zalt 8e84fbbec2 add missing symfony and python to workspace and remove useless alias 2017-08-07 12:36:02 +03:00
Mahmoud Zalt 1e650d8643 Merge branch 'master' of https://github.com/laradock/laradock into dev
* 'master' of https://github.com/laradock/laradock:
  update Install Symfony steps in the docs
  Update docker-compose.yml
  Update env-example
  Update Dockerfile-70
  fix rm error
2017-08-07 12:06:51 +03:00
Mahmoud Zalt 4977b0f92f fix alias for phpunit to load from current directory 2017-08-07 12:06:11 +03:00
James Whiteman 6d89424e91 Update Dockerfile-70
Add python option to workspace
2017-08-07 08:42:55 +12:00
Mahmoud Zalt 004e4354aa add more aliases and functions for better development in the workspace 2017-08-03 08:06:48 +03:00
Mahmoud Zalt d99cf73bf0 edit alias, use the phpunit of the project 2017-08-03 07:31:41 +03:00
terry a590ed78ce fixed #1068 2017-07-26 13:15:12 +08:00
Ujjwal Ojha 9dda2f6b9f image optimizers libraries 2017-07-10 18:49:39 +05:45
Ujjwal Ojha 7765df1076 fix php7.1-xdebug because of missing new line 2017-07-08 10:00:52 +05:45
Rudolf Gitler f2f665dc08 Update Dockerfile-71
php7.1-xdebug instead of php-xdebug instead.
apt-get update needed therefore
2017-07-07 13:21:14 +02:00
Edmund Luong 262b9f20a3 Set default setting to false for the following options in workspace:
- Laravel Envoy
- Laravel Installer
- LinuxBrew
- MS SQL Server
2017-06-09 11:00:42 -04:00
mycontroller 0290142bf4 Dockerfile-56 fill missing MSSQL section 2017-05-31 13:41:30 +08:00
Mahmoud Zalt 18b6c1b907 Merge pull request #984 from Obscuresounds/workspace-fix-bash-command-not-found
Exec issue with workspace bugfix
2017-05-30 17:51:05 +03:00
Mahmoud Zalt 7c9d7a6de6 Merge pull request #965 from aven-li/master
fix mongodb php extension config
2017-05-30 17:49:33 +03:00
Lawrence Eldridge d0c0a8895e add global instance of larval installer for fresh projects. (#988) 2017-05-30 09:05:30 -05:00
Lawrence Eldridge 5a47080859 This issue relates to https://github.com/laradock/laradock/issues/563, which also occurs on Mac. This has been one of the solutions proposed. 2017-05-27 14:07:45 +01:00
avenli 9e81f92d58 fix mongodb php extension config 2017-05-24 14:47:12 +08:00
Cecil van Enter 4dfc794b6e correct xdebug sed in workspace 2017-05-11 22:37:00 +02:00
Winfried 3134221445 Fixing aerospike 2017-05-07 16:56:15 +02:00
Winfried 4cf5f3eabf Removing suffix for Aerospike and V8JS 2017-05-07 16:54:55 +02:00
Winfried 26ecb09685 Merge branch 'fix-workspace-user-laradock-env' of git://github.com/Lednerb/laradock into Lednerb-fix-workspace-user-laradock-env
# Conflicts:
#	workspace/Dockerfile-56
#	workspace/Dockerfile-70
#	workspace/Dockerfile-71
2017-05-07 15:24:57 +02:00
Sascha Brendel e454d1c8a7
Fixed broken adoption for PUID and PGID for Non-Root User laradock. 2017-05-07 12:43:20 +02:00
Shao Yu Lung 69c9202304 apt-get update just need run at first, after add-apt-repository or update apt source list. 2017-05-07 01:08:56 +08:00
Shao Yu Lung 59293d7a99 set php-fpm and workspace use sam sqlsrv version. 2017-05-06 18:48:44 +08:00
Shao Yu Lung 2f010506eb aerospike-client-php version to 3.4.14 2017-05-05 18:21:45 +08:00
Winfried 4f24550463 Merge pull request #891 from bestlong/speed-up-git-clone-and-save-space
git clone only need one depth.
2017-05-05 07:35:48 +02:00
Shao Yu Lung e579b18794 workspace/Dockerfile-70 duplicate MSSQL section. 2017-05-05 13:07:56 +08:00
Shao Yu Lung fde406bafa Dockerfile-71 fill missing MSSQL section 2017-05-05 12:33:09 +08:00
Shao Yu Lung 4cb440504b git clone only need one depth. 2017-05-04 17:41:02 +08:00
Winfried da58d2e9b9 Fixing V8JS
Fixes #792
2017-05-03 23:33:52 +02:00
Mark Hilton 623d7aa58d added MS SQL support to workspace 2017-05-03 13:27:24 -04:00
Mark Hilton ca198b85bf Added support for MS SQL server driver for PHP 7.0 2017-05-03 13:01:03 -04:00
Winfried 5291f0f884 Merging workspace Dockerfiles
Should fix #864 and #870
2017-05-01 07:19:13 +02:00
Mike Erickson a94b4e259c Merge pull request #860 from winfried-van-loon/workspace-latest-base-image
Updating workspace to use latest base image
2017-04-27 08:38:41 -07:00
Winfried dde95043f8 Updating workspace to use latest base image 2017-04-24 00:07:07 +02:00
Winfried c6bd305b13 Fixing soap being loaded twice 2017-04-23 23:19:56 +02:00
Mahmoud Zalt 24d70ad1e3 upgrade base image for dockerfile 7.1 after adding `bcmath` 2017-04-22 20:45:53 -04:00
Mahmoud Zalt b1c546efc9 update base images version for workspace and php-fpm 2017-04-21 22:37:48 -04:00
Mahmoud Zalt bce05e4b59 little cleanup 2017-04-21 10:13:53 +12:00
Mahmoud Zalt 4ce1d7f64a upgrade base images for php-fpm and workspace.
These duplicated Dockerfiles will be merged onto single Dockerfile
later. The same Dockerfile will check for the PHP version variable
and install the necessary softwar's accordingly.
2017-04-21 10:13:53 +12:00
Diego Antunes 5aab3add44 Added blackfire.io 2017-04-21 10:02:54 +12:00
Winfried a835c9e709 Fixing soap already loaded warning in workspace 2017-04-12 00:28:54 +02:00
Yu-Lung Shao (Allen) 1257f8830a use PHP71 build workspace get ERROR
fix #752, has a wrong comment string
2017-04-10 15:20:10 +08:00
James Whiteman 2b5fdc00ee Update Dockerfile-70
install symfony and add alias for symfony
2017-04-07 10:22:26 +12:00
Winfried f99eff3a99 Updating env to switch workspace php version. #714 2017-04-04 23:39:03 +02:00
ZeroC0D3 Team e1036185ae Fixing from #708 (#715)
* Fixing workspace_yarn_version

* Remove duplicate type MAINTAINER

* Update README.md
2017-03-26 10:47:03 +08:00
Mahmoud Zalt a42a295951 Merge pull request #485 from AliveCorpse/feature/workspace_with_php_7.1
Add dokerfile with php 7.1
2017-03-16 13:26:36 -04:00
Max Mekenya 082a73ee33 Bump NVM script version to 0.33.1 (#658)
https://github.com/creationix/nvm/releases/tag/v0.33.1
2017-03-07 23:56:35 -05:00
Thor Erik Lie a7503ce3f3 Add Minio container
Minio is an s3 compatible server written in go.
2017-03-05 15:06:22 +01:00
Austin Benesh cf34c4ed32 Fixed SOAP for both php-fpm and CLI 2017-02-07 15:21:30 -07:00
BAGArt 9348dd95a0 Issues 563 (#580)
* https://github.com/laradock/laradock/issues/563
hotfix

* https://github.com/laradock/laradock/issues/563
\r

* https://github.com/laradock/laradock/issues/563
\r
2017-02-05 11:03:41 -05:00
Talip Durmuş c5e2e7e1e2 Add deployer support (#579)
* add deployer option

* export path for all composer global installations

* add deployer option

* fix typo

* add readme for deployer installation

* deployer default option changed to false

* Add missing deployer menu
2017-01-31 17:05:42 +08:00
Ivo 43b9515b61 add alias support for laradock user (#572)
add the same alias support as root for the laradock user, inlined the multiple RUN commands
2017-01-26 22:18:09 +08:00
Mike Erickson b52dcd4a19 540 added alias support (#557)
* 540 added alias support

* Updated aliases, added content to README.md
2017-01-17 19:09:05 -05:00
TJ 4c8e09526d Fix Workspace Cron Permissions (#555)
When I submitted #538 it looks like I overlooked the crontab file
permissions for the Laradock user. This change ensure that all
crons added during build are set to the correct permission level.
2017-01-16 11:10:49 -05:00
Mike Erickson a80ef301a9 541-add-linuxbrew-option (#543)
* 541-add-linuxbrew-option

* 541 updated readme with installation information
2017-01-13 14:12:44 -05:00
TJ 721e04370f Updated Crontab for Workspace (#538)
- Crontab now gets added to `/etc/cron.d`
- Base crontab now runs as the `laradock` user

This update resolves #459.
2017-01-10 16:34:55 -05:00
Bo-Yi Wu 0218ef6b9f remove tabs. 2016-12-26 10:30:14 +08:00
Cristian Mello 33e8e91e49 Add Laravel Envoy (#510)
Add laravel envoy
2016-12-25 12:38:25 -05:00
per3evere 13bdfa119d Update Dockerfile
Replace tab with 4 spaces.
2016-12-23 13:35:45 +08:00
Philippe Trépanier 0eea7a639a Merge pull request #506 from Jono20201/patch/artisan-alias
Add `art` alias for `php artisan` - like homestead
2016-12-22 16:14:57 -05:00
Jonathan Martin f2db21f339 Add art alias for php artisan -- like homestead 2016-12-22 15:28:23 +00:00
Mahmoud Zalt 860af556e2 Support bcmath php extention on php-fpm and workspace (base image 1.3)
Probably closes #453
2016-12-21 14:01:51 -05:00
Bo-Yi Wu b8142222e5 Support specific version of yarn.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-16 09:36:08 +08:00
Vladimir Kireyko aabe504c24 Add dokerfile with php 7.1 2016-12-15 15:13:00 +02:00
Edmund Luong 8bacb129c6 Add option to install Google V8 Javascript Engine PHP extension 2016-12-13 20:00:48 -05:00
Vladimir Kirejko 2fab33d4e4 Fix load of mongodb library
```
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/mongodb.so' - /usr/lib/php/20151012/mongodb.so: undefined symbol: php_json_serializable_ce in Unknown on line 0
```
2016-12-09 21:13:04 +02:00
Bo-Yi Wu 5d98e78dba Revert #418 and fix install yarn package management.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-10 10:23:49 +08:00
Alexandre Thomas 44045f85e6 Fix a bug that prevents yarn from installing 2016-11-09 16:14:49 +01:00
Mahmoud Zalt f732bb283b update the workspace container version 2016-11-03 09:50:21 -04:00
Didier Sampaolo 470994fc23 fix #395 adds phpunit path to non-root user's .bashrc 2016-11-01 07:19:58 +01:00
Bo-Yi Wu b6c7746a0d fix workdir path.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-01 09:23:40 +08:00
Bo-Yi Wu e7baf3cfc3 fix phpunit path 2016-11-01 09:00:19 +08:00
Mahmoud Zalt 2ed09f42ca change workspace and php-fpm work directories
making them compatible with multiple projects
2016-10-31 19:28:25 -04:00
Bo-Yi Wu 33e99ca9cf update format. 2016-10-31 14:58:39 +08:00
Bo-Yi Wu 62e0f0443c Support Yarn MANAGEMENT tool.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-13 12:06:30 +08:00
philtrep fb26035e5c Added timezone arguments to workspace build 2016-10-10 09:44:25 -04:00
Mahmoud Zalt 2e5d2a743c disable xdebug remote by default 2016-10-09 20:47:08 -04:00
Mahmoud Zalt 5635b47c6f refactor the workspace docker file 2016-10-09 20:27:03 -04:00
Mahmoud Zalt 56f422ade0 replace true parameters by false as the default 2016-10-09 20:05:33 -04:00
Aivan Monceller 08fa1bc95c fix for issue #347 2016-10-10 01:06:10 +08:00
philtrep 8933b827b3 Added laravel cronjob 2016-10-03 20:29:45 -04:00
philtrep 6f435584a9 Added cron files copying to workspace crontab 2016-10-03 20:21:28 -04:00
philtrep cfc48b3791 Added NVM binaries in root bashrc 2016-10-03 13:10:31 -04:00
Lialosiu 3a5100097a fix php warning "Unable to load dynamic library '/usr/lib/php/20151012/aerospike.so'" when aerospike set not install at workspace 2016-09-10 16:53:15 +08:00
Luciano Gonçalves d538274a0f Add vue-cli on workspace npm global installers 2016-09-06 23:43:03 +01:00
Luciano Gonçalves a3039958e3 Fix conflicts 2016-09-01 13:23:40 +01:00
larryeitel b42ad1ae7e fix workspace xdebug install bug - need to add apt-get update. 2016-08-30 11:26:54 -06:00
Mahmoud Zalt adfb559521 Merge pull request #269 from LarryEitel/expose-port-22-and-add-insecure_id_rsa_ppk
expose-port-22-and-add-insecure_id_rsa_ppk
2016-08-30 17:29:51 +03:00
larryeitel 227c8da17c Expose port 22 for workspace ssh. Add private key for PHPStorm Windows users. 2016-08-27 17:00:01 -06:00
Bo-Yi Wu 294fe31a80 update nvm version.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-27 22:54:59 +08:00
Bo-Yi Wu 78be0b577e support specific node version
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-27 19:38:44 +08:00
Mahmoud Zalt 4aa3902f32 Merge pull request #242 from LarryEitel/install-and-startup-workspace-ssh
Install and start workspace ssh
2016-08-22 03:30:17 +03:00
Luciano Gonçalves 1afad7f14c Add configuration to install aerospike php extension 2016-08-20 19:05:38 +01:00
Mahmoud Zalt dd48592d8b update the xdebug.ini usage 2016-08-19 03:05:02 +03:00
Mahmoud Zalt d57a0c3888 rename and refactor xdebug config files 2016-08-19 03:03:45 +03:00
Larry Eitel 7a13e4a343 Fix variable name 2016-08-17 19:53:01 -06:00
larryeitel 4e7e003e87 ssh keys 2016-08-17 19:24:00 -06:00
Tim Bracken b648f1ca58 Fix typo 2016-08-16 17:53:15 -04:00
Tim Bracken cfc81fca64 Allow for config of crush and opcache in the main docker file 2016-08-16 17:51:41 -04:00
Tim Bracken 95ef5e1e70 Add Drush and Opcache to laradock because they are needed for drupal development. 2016-08-16 15:13:58 -04:00
larryeitel d8a4537efb Provided a way to Stop/Start php-fpm xdebug via bash script. 2016-08-15 09:28:32 -06:00
Suteepat Damrongyingsupab b393996d44 Fixed nvm/node installation not working. 2016-08-11 18:03:27 +07:00
Mahmoud Zalt f12028576c upgrade the workspace base image to 1.1 2016-08-10 22:25:41 +03:00
Mahmoud Zalt 533925522c add CONTRIBUTING.md 2016-08-03 13:08:00 +03:00
Eric Pfeiffer f36f9ef6ec minimize user switching in build. 2016-07-29 10:16:06 -05:00
Jack Fletcher 42d551dead Fix user permissions issue when installing Composer in the workspace
container
2016-07-29 09:59:38 +01:00
Eric Pfeiffer 17e252a436 add non-root user for workspace container. 2016-07-27 02:43:38 -05:00
Mahmoud Zalt 10af217349 update workspace build version 2016-07-27 04:39:54 +03:00
Mahmoud Zalt 2d1c1586f5 use laradock workspace base image
to speed up the build time
2016-07-27 04:22:20 +03:00
Mahmoud Zalt 11f7cfe729 fix an error missed COMPOSER_GLOBAL_INSTALL 2016-07-25 07:15:26 +03:00
Mahmoud Zalt 062b7466f6 add composer.json to install global composer dependencies 2016-07-25 07:00:50 +03:00
Mahmoud Zalt e1dbb972f1 make Mongo, xDebug, Node, and prestissimo Installation Optional
on the Workspace and PHP-FPM Containers

+ general refactoring
2016-07-25 06:25:38 +03:00
Mahmoud Zalt 2a02ed73e3 Refactor the workspace container 2016-07-25 02:48:38 +03:00
Bo-Yi Wu c7fae1a807 convert tab to space. 2016-07-21 11:05:52 +08:00
Orette D'Aguilar a96ee88692 Added pkg-config to the PHP extentions and Tools that are installed from APT 2016-07-20 15:59:50 -05:00
Jack Fletcher bcb749151a Added support to conditionally install Prestissimo 2016-06-22 21:47:06 +01:00
Bo-Yi Wu f6d1d6f617 Fixed Change wrong project name. 2016-06-22 22:20:24 +08:00
Mahmoud Zalt 117382a050 Merge branch 'pr/111'
(fix conflict)
* pr/111:
  add Node Version Manager (nvm)
2016-06-22 17:18:23 +03:00
Bo-Yi Wu 4922c5fafd add Node Version Manager (nvm)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-22 09:33:17 +08:00
Bo-Yi Wu 198c38f6cd Load xdebug Zend extension with phpunit command.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-21 14:03:39 +08:00
Bo-Yi Wu 05c5fcf216 Support gd extension.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-06-16 14:57:27 +08:00
Mahmoud Zalt f3eb6a5fc4 Merge branch 'support-mongo'
* support-mongo:
  add Mongo Support to the Readme
  added php-mongodb extension
  simple reformatting
  set the original volume path
  get mongo volum from the data container
  added mongodb driver for php5.5 5.6
  added mongodb image + PHP7 driver

Fix Conflicts in:
	docker-compose.yml
	php-fpm/Dockerfile-55
	php-fpm/Dockerfile-56
	php-fpm/Dockerfile-70
	php-fpm/laravel.ini
2016-06-11 17:29:27 +03:00
Amin Mkh c4100b5052 added php-mongodb extension 2016-06-11 14:38:26 +03:00
Mahmoud Zalt 4f9cdb02c6 link global gulp to be used locally 2016-06-03 14:16:46 +03:00
Abhishek Prabhu d829482a06 Issue #73 unable to install workspace container 2016-05-25 22:33:29 +05:30
Tom Witkowski 991e28046d Issue #69
add memcached to php-cli
2016-05-24 16:44:52 +02:00
Mahmoud Zalt adaaa25f47 remove the Laravel installer from the workspace container 2016-05-23 23:32:59 +03:00
Amin Mkh c642560993 added postgres driver
added postgres driver to workspace container.
2016-05-23 23:20:07 +03:00
Mahmoud Zalt 1d8336a9e1 add cleaning to free some space during provisioning the workspace
Fixing E: You don't have enough free space in /var/cache/apt/archives/
2016-05-19 03:25:02 +03:00
Mahmoud Zalt f0e2d83618 add sqlite in the workspace
it could be removed to it’s own container later
2016-05-19 03:06:34 +03:00
matt c3ff9e485b Install node, npm, gulp and bower to the workspace container 2016-05-18 20:20:16 +01:00
Mahmoud Zalt 3b2831bf1d add alias for phpunit in the .bashrc 2016-05-18 10:25:54 +03:00
Mahmoud Zalt 7171996843 replace composer path 2016-05-18 09:05:45 +03:00
Mahmoud Zalt 66f08a4f60 fix .bashrc exports and alises 2016-05-18 08:40:08 +03:00