Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Initial Pipeline Config failed: Do not run Composer as root/super user!

CybrPimp February 12, 2020

Hey peeps, I am new to pipelines and having problems with the initial commit of the Pipelines Config bitbucket-pipelines.yml.

I found a few other threads, but there was no clear instructions to a solution so I would like to see if anyone can help?

Here is the code:

image: php:7.1.29

pipelines:
default:
- step:
caches:
- composer
script:
- apt-get update && apt-get install -y unzip
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer install
- vendor/bin/phpunit

 
Many thanks in advance for your help!

1 answer

0 votes
CybrPimp February 13, 2020

We solved this! Unfortunately for those with a problem in the future, I don't know what my guy did.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events