Bitbucket pieplines seems to be running our container in such a way that a PHP configuration is apparently being set.
So for example
docker run ti --rm wodby/drupal-php:7.2 shell
wodby@php.container:/var/www/html $ php -i | grep memory
memory_limit => -1 => -1
Now the following is our pipeline config, followed by the step. I've removed chunks for clarity.
---
options:
docker: true
//our pipeline steps
definitions:
services:
mysql:
image: mysql:5.7
- step: name: Install Drupal
image: wodby/drupal-php:7.2
services:
- mysql
script:
- php -i | grep memory
+ php -i | grep memory
memory_limit => 128M => 128M
Where is this memory limit coming from? None of our containers or pipeline configuration have specified this configuration.
Hi @Rich Allen
Great question!
Pipelines will not call the wodby/drupal-php:7.2 docker entrypoint script. That script is the one responsible for setting the memory configuration you need. As a workaround, you can call the entrypoint script at the beginning of your Drupal step.
The following should show the memory configuration as you need:
- step:
name: Install Drupal
image: wodby/drupal-php:7.2
script:
- /docker-entrypoint.sh
- php -i | grep memory
I hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, I learned that from this question. Thank you for the opportunity you gave me.
Have a good one!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Rich Allen,
What do you think of sharing your knowledge on setting up Drupal with this user?
https://community.atlassian.com/t5/Bitbucket-questions/Drupal-7-deployment/qaq-p/1133074
Drupal is not my area of expertise and that is why I'm encouraging you to share your knowledge there if you have time for that of course. =]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.