{"action":"created","issue":{"url":"https://api.github.com/repos/RobLoach/drush-docker/issues/28","repository_url":"https://api.github.com/repos/RobLoach/drush-docker","labels_url":"https://api.github.com/repos/RobLoach/drush-docker/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/RobLoach/drush-docker/issues/28/comments","events_url":"https://api.github.com/repos/RobLoach/drush-docker/issues/28/events","html_url":"https://github.com/RobLoach/drush-docker/issues/28","id":149884327,"number":28,"title":"Allow choosing different versions of PHP","user":{"login":"RobLoach","id":25086,"avatar_url":"https://avatars.githubusercontent.com/u/25086?v=3","gravatar_id":"","url":"https://api.github.com/users/RobLoach","html_url":"https://github.com/RobLoach","followers_url":"https://api.github.com/users/RobLoach/followers","following_url":"https://api.github.com/users/RobLoach/following{/other_user}","gists_url":"https://api.github.com/users/RobLoach/gists{/gist_id}","starred_url":"https://api.github.com/users/RobLoach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobLoach/subscriptions","organizations_url":"https://api.github.com/users/RobLoach/orgs","repos_url":"https://api.github.com/users/RobLoach/repos","events_url":"https://api.github.com/users/RobLoach/events{/privacy}","received_events_url":"https://api.github.com/users/RobLoach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-20T20:57:15Z","updated_at":"2016-04-22T20:16:54Z","closed_at":null,"body":"1. The container tags become what PHP version you want to run (`drush/drush:php-5` for PHP5, `drush/drush:php-7` for PHP7, etc)\r\n2. Split up Composer to allow chosing PHP 5 `composer/composer:php-5`/`composer/composer:php-7`\r\n3. Download all versions of Drush (8, 9)\r\n4. Drush entry point selects which version of Drush you want\r\n  - Wrapper script? `/drush/$DRUPAL_VERSION/drush $@`\r\n  - Use DRUSH_VERSION in entry point to select correctly? Does this work?\r\n  - Full blown PHP Drush launcher application to select which Drush version to run and pass the args on"},"comment":{"url":"https://api.github.com/repos/RobLoach/drush-docker/issues/comments/213575233","html_url":"https://github.com/RobLoach/drush-docker/issues/28#issuecomment-213575233","issue_url":"https://api.github.com/repos/RobLoach/drush-docker/issues/28","id":213575233,"user":{"login":"danquah","id":999542,"avatar_url":"https://avatars.githubusercontent.com/u/999542?v=3","gravatar_id":"","url":"https://api.github.com/users/danquah","html_url":"https://github.com/danquah","followers_url":"https://api.github.com/users/danquah/followers","following_url":"https://api.github.com/users/danquah/following{/other_user}","gists_url":"https://api.github.com/users/danquah/gists{/gist_id}","starred_url":"https://api.github.com/users/danquah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danquah/subscriptions","organizations_url":"https://api.github.com/users/danquah/orgs","repos_url":"https://api.github.com/users/danquah/repos","events_url":"https://api.github.com/users/danquah/events{/privacy}","received_events_url":"https://api.github.com/users/danquah/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T20:16:54Z","updated_at":"2016-04-22T20:16:54Z","body":"Agree that supporting all versions will take some work :)\r\n\r\nBut, at the very least I think there should be a version that is usable on a Drupal 6 site, and you won't get D6 running on \"php5\" if that means 5.6.\r\n\r\nI think at the very least there should be a tag for drush 8 or 7 running on a \"low\" version of php 5, according to https://www.drupal.org/requirements/php#6 it might have to go as low as 5.2 - but as most major linux distributions used while Drupal 6 was big (eg Debian Squeeze, Ubuntu 12.04, Centos 6, RHEL 6) shipped with 5.3 I think is a safe choice."}}