We're having trouble getting pipelines to work.
We probably just need some help configuring it.
So far we are getting errors on `composer install`
[See attached image]
Does anyone have any advice?
We managed to get a bit further after we found this documentation, which luckily mentions installing php gd on Pipelines part way down. Documentation advises about `docker-php-ext-configure` and `docker-php-ext-install`: https://confluence.atlassian.com/bitbucket/php-with-bitbucket-pipelines-873907835.html
We then managed to also install the php zip extension using `docker-php-ext-install zip`.
We're now getting errors for other reasons (trying to run Laravel Dusk) but the core issue we created this thread for seems to be resolved.
We tried adding the line:
apt-get install php7.1-gd
But we just get an error:
E: Unable to locate package php7.1-gd
E: Couldn't find any package by regex 'php7.1-gd'
Other posts (not necessarily pipelines posts) mention modifying the php.ini file to enable gd but I don't know where this is in Pipelines.
Full pipelines config being:
# This is a sample build configuration for PHP.
# Check our guides at https://confluence.atlassian.com/x/e8YWN for more examples.
# Only use spaces to indent your .yml configuration.
# You can specify a custom docker image from Docker Hub as your build environment.
- apt-get update && apt-get install -y unzip
- apt-get install php7.1-gd
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer install
# - vendor/bin/phpunit
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events