Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.

add composer user installer #7

Closed
viceice opened this issue Jun 10, 2020 · 1 comment · Fixed by containerbase/base#17
Closed

add composer user installer #7

viceice opened this issue Jun 10, 2020 · 1 comment · Fixed by containerbase/base#17
Assignees

Comments

@viceice
Copy link
Member

viceice commented Jun 10, 2020

https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md

ref: renovatebot/renovate#2355

Idea:

  • add ~/bin to path
  • download composer-setup to ~/bin/composer-setup (make executable)
  • renovate runs composer-setup --install-dir=$HOME/bin --filename=composer [--version=1.10.0] as preCommands

@rarkins should we add a wrapper script for composer-setup, so renovate only has to run install-composer 1.10.0 ?

@viceice viceice self-assigned this Jun 10, 2020
@rarkins
Copy link
Contributor

rarkins commented Jun 10, 2020

Good idea.

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

Successfully merging a pull request may close this issue.

2 participants