edbizarro / gitlab-ci-pipeline-php

:coffee: Docker images for test PHP applications with Gitlab CI (or any other CI platform!)
https://hub.docker.com/r/edbizarro/gitlab-ci-pipeline-php
MIT License
529 stars 167 forks source link

Permission denied problem #17

Closed Cyrille37 closed 7 years ago

Cyrille37 commented 7 years ago

Hello

Argh! The "Permission denied" came back. Perhaps the image is broken again ?

Running with gitlab-runner 10.0.0-rc.1 (6331f360)
  on docker-auto-scale (e11ae361)
Using Docker executor with image edbizarro/gitlab-ci-pipeline-php:7.1-alpine ...
Using docker image sha256:0cc77ef78dff839c6a3b792562cb027ed147bd054a83629e2fe9a4d39e6503f0 for predefined container...
Pulling docker image edbizarro/gitlab-ci-pipeline-php:7.1-alpine ...
Using docker image edbizarro/gitlab-ci-pipeline-php:7.1-alpine ID=sha256:4f4a0abdab5d5288fb2d4d1dc0bdb1807097c065c171c533c643903a6f4b5f62 for build container...
Running on runner-e11ae361-project-3298849-concurrent-0 via runner-e11ae361-machine-1507209113-1fcbe2e7-digital-ocean-2gb...
Cloning repository...
...
...
$ echo whoami `whoami`
whoami php
...
...
$ composer install --no-interaction --no-progress
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update

  [ErrorException]                                                                                                          
  file_put_contents(/builds/group/project/vendor/composer/installed.json): failed to open stream: Permission denied  
edbizarro commented 7 years ago

really sorry, I've fixed all images and added some tests before push to registry to ensure that this not happen again.

make sure to remove your cache

Tks

Cyrille37 commented 7 years ago

Thanks. It works now :-)