Comments (13)
I think we should determine the most useful and popular tools for Drupal and just add it to the PHP container. Recently, we've added Drupal Console.
from docker4drupal.
It really makes sense to have the tools available in php-essentials in a separate container. Those tools are primarily for supporting development efforts (they're all testing tools), but offer little to production and in reality should not be included in a production environment.
from docker4drupal.
please note that this initiative is focused on providing a local environment and this is one of the reasons it's so simple, it's not recommended to use it in production
from docker4drupal.
@lhridley Suppose git, drush & composer are required on "live" for d8
from docker4drupal.
otoh I't makes sense to keep them in separate volume/image container
Like
PS here's similar project https://github.com/RobLoach/Dockie
from docker4drupal.
Let's figure out first what dev tools are missing that are must have for many drupal devs. Then we can think of adding an additional container (though I'm personally for keeping it as simple as possible) or adding tools to the existing PHP container.
from docker4drupal.
Pretty much all of the tools in php-essentials, plus the following:
- Drupal Coding Standards to go with PHPCS / CodeSniffer (https://www.drupal.org/node/1419980)
- Drupal extension for Behat
- Selenium Container with either Chrome or Firefox (or both)
- Git
from docker4drupal.
It seems that https://github.com/darh/php-essentials is no longer supported (last commit in 2014). I suppose we can just add the most popular tools to the main PHP container (cc @PavelPrischepa)
from docker4drupal.
Phpcs and behat can be installed via composer, git is already in there, selenium container is available on docker hub https://hub.docker.com/r/selenium/. We're open for other suggestions, meanwhile, I'm closing this ticket due to no activity.
from docker4drupal.
I tried to setup the behat drupal extension on a docker4drupal stack, it worked only when i didn't enable the drupal api driver in the behat.yml file.
I got the following error when i tried to run a test:
PHP Fatal error: Undefined class constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' in /home/gitlab/netto982df6/netto/includes/database/mysql/database.inc on line 56
from docker4drupal.
@jsayegh do you get this error inside of php container? what is the tag of php image? Could you perhaps open a new issue with more details and steps to reproduce?
from docker4drupal.
@csandanov i followed the steps in https://docker4drupal.readthedocs.io/en/latest/ to run the stack.
Then i installed the drupal extension (system wide installation: https://behat-drupal-extension.readthedocs.io/en/3.1/globalinstall.html#install-the-drupal-extension).
I added the attached behat.yml file in a a directory named tests in /profiles/MY_PROFILE (profiles/MY_PROFILE/tests)
behat.yml.zip
from docker4drupal.
@csandanov
I'm adding subcontexts and .feature files in some of the modules and i'm getting the error when i try run of the tests in a .feature file using the following command :
behat -c /path/to/drupal_root/profiles/MY_PROFILE/tests/behat.yml /path/to/drupal_root/profiles/MY_PROFILE/modules/my_module/test.feature
and this is the tag of the php image: wodby/drupal-php:5.6-2.0.0
from docker4drupal.
Related Issues (20)
- ssmtp corrupting email attachments when server is under load HOT 1
- How to configure https in nginx HOT 1
- Can't write to Drupal files' directory
- Project root keeps changing to owner 100999:100999 on Ubuntu 20 HOT 3
- drush doesn't work properly with Drupal 10 HOT 1
- XDebug setup on WSL.
- How to use this for Drupal 8 site that requires Php 7.4 ? HOT 2
- The module automated_cron does not exist or is not installed
- Some containers could stop faster HOT 3
- You are using an incompatible Solr schema HOT 1
- File not found. 404 Error HOT 2
- Xdebug 3.2.x HOT 4
- How to add a module to a Built-in vanilla Drupal installation with the use of composer? HOT 2
- 404 not found with SSL mkcert and traefik HOT 1
- Full support form arm64 architecture? HOT 3
- Default installation with mounted database drupal gives error. How to proceed? HOT 2
- Not Recognizing Modules
- Error in compose file HOT 5
- Installation Problem
- Busybox sendmail is not working with mailhog and Drupal 10 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker4drupal.