Comments (6)
Hello @j3j5
Temporarily, on an existing project, we are testing the following solution:
project:
services:
- mariadb:10.3
image: edbizarro/gitlab-ci-pipeline-php:7.4-alpine
script:
- composer -V # Composer version 1.10.15 2020-10-13 15:59:09
- sudo composer self-update --2
- composer -V
# The "hirak/prestissimo" plugin (installed globally) was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
# Composer version 2.0.3 2020-10-28 15:50:55
I think it would be good to be able to switch from V1 to V2 and vice-versa.
from gitlab-ci-pipeline-php.
I see there's an open PR #108, I'm fine with that approach 👍
from gitlab-ci-pipeline-php.
@j3j5 I confirm you before doing my PR, I saw the message from @romainnorberg and i use this to solve my CI
from gitlab-ci-pipeline-php.
Hi @romainnorberg , that exactly has been my approach, to upgrade from the container, but I guess it'd be better if we could choose w/o having to download the upgrade/downgrade every time. Personally, I'd go for using composer2 only and leave the downgrade (as you mention above) as an option, but I guess it's @edbizarro call.
from gitlab-ci-pipeline-php.
@edbizarro Possible that composer 2 is still not working?
from gitlab-ci-pipeline-php.
Is there anything that is being done about this?
Is there a better alternative?
from gitlab-ci-pipeline-php.
Related Issues (20)
- The removal of /usr/src/* breaks docker-php-ext-install on alpine build HOT 3
- CI broken due to missing libXss.so HOT 2
- failed to open stream: Cannot assign requested address
- Could you add pnpm like you did with Yarn ? HOT 1
- xdebug configuration change - breaks coverage reports HOT 13
- mising PHP extension sockets
- Invalid option name: set: pipefail HOT 2
- PHP 8.0 request HOT 6
- Is there a way to change mysql configuration in the images?
- MySQL 8 support broken HOT 3
- PackageManifest.php Undefined index: name HOT 4
- 8.0-alpine is still using Composer v1.x HOT 2
- php-amqplib/php-amqplib v3.0.0 requires ext-sockets HOT 1
- Possible Strange permission issue
- PHP 8.1 Support HOT 8
- PHP 8.0 image is outdated HOT 5
- is pcov supported?
- Rebuild images to update Composer version
- This project is abandoned, see alternative
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitlab-ci-pipeline-php.