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

file_put_contents(.../dcg): failed to open stream on composer install

Nasser Karimi December 10, 2019

I have a Drupal project on the Bit-bucket Repository.

So there is a piplines.yml in the directory and showed bellow

# 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.
image: php:7.3.10

pipelines:
default:
- step:
caches:
- composer
script:
- apt-get update && apt-get install -y unzip libfreetype6-dev libjpeg62-turbo-dev git
- docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
- docker-php-ext-install -j$(nproc) gd
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- cd docroot
- composer install
- vendor/bin/phpcs --config-set installed_paths vendor/drupal/coder/coder_sniffer
- vendor/bin/phpcs -i
- vendor/bin/phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md --ignore=node_modules,bower_components,vendor modules/custom
- vendor/bin/phpcs --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md --ignore=node_modules,bower_components,vendor modules/custom

  The issue comes up on composer install section, that shows this error 

clikglobal   ad-id   Pipelines — Bitbucket.png

1 answer

0 votes
fabricio October 15, 2020

Hi!
@Nasser Karimi 
I'm having the same issue. Did you manage to solve it?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events