Gitlab CI fails with composer/composer image
For some odd reason Gitlab CI cannot run the docker image "composer/composer". I posted an issue at https://github.com/RobLoach/docker-composer/issues/91 for the docker image, but it seems that there is some Gitlab CI specific handling, that leads to the errors.
.gitlab-ci.yml:
image: composer/composer:php5-alpine
stages:
- build
- test
- deploy
# Jobs
satis-build:
stage: build
script:
- ls
Build output
gitlab-ci-multi-runner 1.3.2 (0323456)
Using Docker executor with image composer/composer:php5-alpine ...
Pulling docker image composer/composer:php5-alpine ...
Running on runner-420782f7-project-64-concurrent-0 via build-runner-githost...
Fetching changes...
HEAD is now at 8d19828 More tests
From https://gitlab.undpaul.de/undpaul/packages
8d19828..9141eee master -> origin/master
Checking out 9141eee5 as master...
[Symfony\Component\Console\Exception\RuntimeException]
The "-c" option does not exist.
show [--all] [-i|--installed] [-p|--platform] [-a|--available] [-s|--self] [-N|--name-only] [-P|--path] [-t|--tree] [-l|--latest] [-o|--outdated] [-D|--direct] [--] [<package>] [<version>]
[Symfony\Component\Console\Exception\RuntimeException]
The "-c" option does not exist.
show [--all] [-i|--installed] [-p|--platform] [-a|--available] [-s|--self] [-N|--name-only] [-P|--path] [-t|--tree] [-l|--latest] [-o|--outdated] [-D|--direct] [--] [<package>] [<version>]
ERROR: Build failed: exit code 1