Hello
I encountered the following failed message hen building pipeling:
+ composer installDo not run Composer as root/super user!
my bitbucket-pipelines.yml is made from doc as following:
image: php:7.1.1
pipelines:
default:
- step:
script:
- apt-get update && apt-get install -y unzip
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer require phpunit/phpunit
- vendor/bin/phpunit
I'm very new to bitbucket and docker. Could anyone give me an instruction to fix this? Thank you very much in advance.