Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for composer global plugins #210

Open
rafaeltuelho opened this issue Apr 25, 2018 · 4 comments
Open

add support for composer global plugins #210

rafaeltuelho opened this issue Apr 25, 2018 · 4 comments

Comments

@rafaeltuelho
Copy link

Some applications rely on composer plugins to properly install their dependencies. For example, some applications delegates to composer the installations of npm and bower packages. Composer uses the plugin fxpio/composer-asset-plugin for this kind of 3rd party deps management. The issue is fxpio/composer-asset-plugin only can be installed/enable globally. So the image should install install using the command:

composer global require "fxp/composer-asset-plugin:~1.3"
@rafaeltuelho
Copy link
Author

rafaeltuelho commented Apr 25, 2018

I managed to workaround this "limitation" by copying the original s2i assemble script and embedding it inside my app src (.s2i/bin/assemble). See the customized version here: https://gist.github.com/rafaeltuelho/628da4576ec9f34c6c28cd9e5b909ef0#file-customized_php_s2i_assemble-sh-L46-L51

@omron93
Copy link
Contributor

omron93 commented Apr 27, 2018

@remicollet Could you please tak a look if it makes sense to use fxpio/composer-asset-plugin by default in our assemble script? Also what do you think about #166 which relates also to composer?

@phracek
Copy link
Member

phracek commented Mar 28, 2023

@remicollet Hi remi, what do you think about this issue? Does it make sense? Thank you. Petr

@remicollet
Copy link
Contributor

@remicollet Hi remi, what do you think about this issue? Does it make sense? Thank you. Petr

I don't think it make sense, we obviously cannot install everything
and this project seems inactive (last release in 2019, 4 years ago)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants