Composer needed in app but '/usr/local/bin/composer: No such file or directory`
@jbelleza Jesire, do you know anything about how the Canasta image is using Composer? I need to use it in the app, and I see vanilla Canasta installs it in /usr/local/bin
but the app reports /bin/sh: /usr/local/bin/composer: No such file or directory
I don't see composer anywhere in the repo1 dockerfile. Do you know if anything is done with it or why it isn't there? This could just be lack of my understanding of how Canasta is built.
Details:
I need to install some MediaWiki extensions not bundled in Canasta. I have added them to composer.json and composer.lock and they are successfully installed in the IL4 pipeline build stage and checked via dependency check
. I should be able to install them via composer update
or /usr/local/bin/composer update
. Right now I'm trying to invoke this via the deployment manifest.
What's the best way to install Composer if needed? (Canasta does this). More generally, what would be the best way to install new extensions?